-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify template maintenance generating docs using nwb-docutils
- Loading branch information
Showing
15 changed files
with
51 additions
and
743 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
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
|
||
import os | ||
import sys | ||
|
||
|
||
def test_post_gen_project_hook(project_dir): | ||
for expected_file in [ | ||
# Generated using init_sphinx_extension_doc | ||
"docs/Makefile", | ||
"docs/README.md", | ||
"docs/make.bat", | ||
"docs/source/_static/theme_overrides.css", | ||
"docs/source/conf.py", | ||
"docs/source/conf_doc_autogen.py", | ||
"docs/source/credits.rst", | ||
"docs/source/description.rst", | ||
"docs/source/format.rst", | ||
"docs/source/index.rst", | ||
"docs/source/release_notes.rst", | ||
]: | ||
expected_file = os.path.join(project_dir, expected_file) | ||
assert os.path.exists(expected_file) | ||
|
||
|
||
if __name__ == "__main__": | ||
test_post_gen_project_hook(sys.argv[1]) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.