Skip to content

Commit

Permalink
Move code-related pages under new code directory
Browse files Browse the repository at this point in the history
Namely, `plugins.rst` becomes `code/plugins.rst`, which vacates a place
for documentation of actual plugins to live in `plugins/`.
  • Loading branch information
happz committed Jan 2, 2024
1 parent 91fe542 commit 49b9ddb
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# tmt-specific

/tmp/
docs/autodocs/*.rst
docs/code/autodocs/*.rst
docs/_build
docs/spec
docs/stories
Expand Down
4 changes: 2 additions & 2 deletions docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
.PHONY: help generate-stories generate-autodocs clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest coverage gettext

clean:
rm -rf $(BUILDDIR) stories spec autodocs/*.rst
rm -rf $(BUILDDIR) stories spec docs/autodocs/*.rst

##
## Building documentation
Expand Down Expand Up @@ -74,7 +74,7 @@ generate-stories: stories ## Generate documentation sources for stories
generate-test-checks: spec spec/test-checks.rst ## Generate documentation sources for test checks

generate-autodocs: ## Generate autodocs from source docstrings
cd ../ && sphinx-apidoc --force --implicit-namespaces --no-toc -o docs/autodocs tmt
cd ../ && sphinx-apidoc --force --implicit-namespaces --no-toc -o docs/code/autodocs tmt

##
## Help!
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ Table of Contents
Stories <stories>
Questions <questions>
Contribute <contribute>
Code <code>
Code <code/index>
Releases <releases>

0 comments on commit 49b9ddb

Please sign in to comment.