-
-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add script to call sphinx-apidoc and other doc changes.
- Loading branch information
1 parent
7d6f6c1
commit d84bb16
Showing
7 changed files
with
82 additions
and
100 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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Copyright (C) 2015 Garth N. Wells | ||
# | ||
# This file is part of UFL. | ||
# | ||
# UFL is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU Lesser General Public License as published by | ||
# the Free Software Foundation, either version 3 of the License, or | ||
# (at your option) any later version. | ||
# | ||
# UFL is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU Lesser General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU Lesser General Public License | ||
# along with UFL. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
# This script calls sphinx-apidoc to generate files ready for autodoc | ||
# | ||
# Run from the top level UFL directory: | ||
# | ||
# ./scripts/makedoc | ||
# | ||
|
||
echo "" | ||
echo "--- Generating UFL autodoc RST files" | ||
echo "" | ||
|
||
SPHINX_DIR=. | ||
SPHINX_SOURCE_DIR=$SPHINX_DIR/source | ||
|
||
# Generate .rst files ready for autodoc | ||
sphinx-apidoc -f -d 1 -o $SPHINX_SOURCE_DIR/api-doc ../../ufl |
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 |
---|---|---|
|
@@ -2,6 +2,6 @@ ufl | |
=== | ||
|
||
.. toctree:: | ||
:maxdepth: 4 | ||
:maxdepth: 1 | ||
|
||
ufl |
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,7 @@ | ||
Release notes | ||
============= | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
|
||
releases/next |
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,2 @@ | ||
Changes in the next release of UFL | ||
================================== |
This file was deleted.
Oops, something went wrong.