Move mkdocs.yml into root directory, so readthedocs.org will work.
This commit is contained in:
parent
4cf156e930
commit
baae4fe213
2 changed files with 4 additions and 4 deletions
|
|
@ -1,8 +1,8 @@
|
||||||
redo-ifchange doc.list
|
redo-ifchange doc.list
|
||||||
xargs redo-ifchange mkdocs.yml <doc.list
|
xargs redo-ifchange ../mkdocs.yml <doc.list
|
||||||
|
|
||||||
if type mkdocs >/dev/null 2>/dev/null; then
|
if type mkdocs >/dev/null 2>/dev/null; then
|
||||||
mkdocs build
|
(cd .. && mkdocs build)
|
||||||
else
|
else
|
||||||
echo "Warning: mkdocs is missing; can't generate website." >&2
|
echo "Warning: mkdocs is missing; can't generate website." >&2
|
||||||
redo-ifcreate /usr/bin/mkdocs
|
redo-ifcreate /usr/bin/mkdocs
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
site_name: redo build system
|
site_name: redo build system
|
||||||
theme: readthedocs
|
theme: readthedocs
|
||||||
docs_dir: .
|
docs_dir: Documentation
|
||||||
site_dir: ../website
|
site_dir: website
|
||||||
strict: true
|
strict: true
|
||||||
|
|
||||||
pages:
|
pages:
|
||||||
Loading…
Add table
Add a link
Reference in a new issue