-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use different file instead of ifconfig
Unfortunately, Sphinx did not regard ifconfig when parsing the toc, so it could not be used. Instead, we simply copy a different file.
- Loading branch information
Showing
4 changed files
with
44 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,15 @@ | ||
.. PyGreSQL documentation master file | ||
.. PyGreSQL index page without toc (for use with cloud theme) | ||
Welcome to PyGreSQL | ||
=================== | ||
|
||
.. ifconfig:: html_theme != 'cloud' | ||
.. toctree:: | ||
:hidden: | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
copyright | ||
announce | ||
download/index | ||
contents/index | ||
community/index | ||
|
||
about | ||
copyright | ||
announce | ||
download/index | ||
contents/index | ||
community/index | ||
|
||
.. ifconfig:: html_theme == 'cloud' | ||
|
||
.. toctree:: | ||
:hidden: | ||
|
||
copyright | ||
announce | ||
download/index | ||
contents/index | ||
community/index | ||
|
||
.. include:: about.txt | ||
.. include:: about.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
.. PyGreSQL index page without toc (for use with cloud theme) | ||
|
||
Welcome to PyGreSQL | ||
=================== | ||
|
||
.. toctree:: | ||
:hidden: | ||
|
||
copyright | ||
announce | ||
download/index | ||
contents/index | ||
community/index | ||
|
||
.. include:: about.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
.. PyGreSQL index page with toc (for use without cloud theme) | ||
|
||
Welcome to PyGreSQL | ||
=================== | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
|
||
about | ||
copyright | ||
announce | ||
download/index | ||
contents/index | ||
community/index |