Add build step to check for dead links
This commit is contained in:
parent
1c6cf368b7
commit
e77f96a001
15
Makefile
15
Makefile
|
@ -1,15 +1,20 @@
|
|||
.PHONY: all clean docs livedocs publish size
|
||||
.PHONY: all clean docs linkcheck livedocs publish size
|
||||
SOURCE_DIR = pages
|
||||
BUILD_DIR = _build/html
|
||||
|
||||
all: clean docs size publish
|
||||
all: clean docs linkcheck size publish
|
||||
|
||||
clean:
|
||||
rm -rf _build
|
||||
rm -rf $(BUILD_DIR)
|
||||
|
||||
docs:
|
||||
sphinx-build pages _build/html
|
||||
sphinx-build $(SOURCE_DIR) $(BUILD_DIR)
|
||||
|
||||
linkcheck:
|
||||
sphinx-build -b linkcheck $(SOURCE_DIR) $(BUILD_DIR)
|
||||
|
||||
livedocs: clean
|
||||
sphinx-autobuild pages _build/html -a \
|
||||
sphinx-autobuild $(SOURCE_DIR) $(BUILD_DIR) -a \
|
||||
--watch assets \
|
||||
--watch templates \
|
||||
--watch pages/conf.py \
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
{bdg-primary}`Draft`
|
||||
|
||||
One of my interests is gardening, particularly cactus and succulents plants.
|
||||
I participate in the [Cactus and Succulent Society](http://cactusandsucculensociety.org), and grow
|
||||
I participate in the [Cactus and Succulent Society](https://cactusandsucculentsociety.org), and grow
|
||||
and photograph some plants in a small indoor garden.
|
||||
|
||||
<br /><br />
|
||||
|
|
Loading…
Reference in New Issue