Skip to content

Commit 35d7b85

Browse files
author
Andrew Johnson
authored
Merge pull request #383 from CORE-GATECH-GROUP/docs
DOC Fix a lot of documentation issues
2 parents 6d2f650 + 129c2ed commit 35d7b85

26 files changed

+135
-456
lines changed

docs/_templates/myclass.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@
66

77
.. autoclass:: {{ objname }}
88
:members:
9+
:special-members:
10+
:exclude-members: __init__

docs/changelog.rst

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ Incompatible API Changes
113113
* Setting ``expectGcu`` has been removed as :pull:`324` fixed how files without
114114
group constants are handled.
115115
* Keys to |BranchedUniv| objects stored in
116-
:attr:`serpentTools.BranchCollector.universes` are stored as strings,
116+
:attr:`serpentTools.xs.BranchCollector.universes` are stored as strings,
117117
rather than integers, e.g. ``0`` is replaced with ``"0"`` - :pull:`321`
118118
* Keys to |HomogUniv| instances stored on
119119
:class:`~serpentTools.objects.BranchContainer` are now
@@ -320,11 +320,13 @@ Deprecations
320320
files with unique random seeds - :mod:`serpentTools.seed`
321321
* :pull:`229` - :meth:`serpentTools.SensitivityReader.plot`
322322
now respects the option to not set x nor y labels.
323-
* :pull:`231` - |ResultsReader| objects
324-
can now read files that do not contain group constant data. The setting
325-
:ref:`results-expectGcu` should be used to inform the reader that no
326-
group constant data is anticipated
323+
* :pull:`231` - |ResultsReader| objects can now read files that do not
324+
contain group constant data. The setting ``results-expectGcu`` should
325+
be used to inform the reader that no group constant data is anticipated
326+
327+
.. note::
327328

329+
This setting was removed in :ref:`v0.8.0` and in :pull:`324`
328330

329331
.. _v0.5.2:
330332

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,8 +208,8 @@
208208
.. |DetectorReader| replace:: :class:`~serpentTools.DetectorReader`
209209
.. |DepletionReader| replace:: :class:`~serpentTools.DepletionReader`
210210
.. |DepmtxReader| replace:: :class:`~serpentTools.DepmtxReader`
211-
.. |BranchCollector| replace:: :class:`~serpentTools.BranchCollector`
212-
.. |BranchedUniv| replace:: :class:`~serpentTools.BranchedUniv`
211+
.. |BranchCollector| replace:: :class:`~serpentTools.xs.BranchCollector`
212+
.. |BranchedUniv| replace:: :class:`~serpentTools.xs.BranchedUniv`
213213
.. |BranchingReader| replace:: :class:`~serpentTools.BranchingReader`
214214
.. |XSPlotReader| replace:: :class:`~serpentTools.XSPlotReader`
215215
.. |HistoryReader| replace:: :class:`~serpentTools.HistoryReader`

docs/defaultSettings.rst

Lines changed: 0 additions & 273 deletions
This file was deleted.

docs/develop/checklist.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ reviewing pull requests (PR):
99

1010
#. The content of the PR fits within the scope of the project - :ref:`project-scope`
1111
#. The code included in the PR is written in good
12-
`pythonic <https://stackoverflow.com/a/25011492>`_
12+
`pythonic <https://stackoverflow.com/a/25011492>`_
1313
fashion, and follows the style of the project - :ref:`code-style`
1414
#. The code directly resolves a previously raised issue - :ref:`issues`
1515
#. PR does not cause unit tests and builds to fail
1616
#. Changes are reflected in documentation - :ref:`documentation`
1717

18-
.. _dev-ci
18+
.. _dev-ci:
1919

2020
CI Testing
2121
==========
@@ -27,7 +27,7 @@ notebooks. The former are used to perform more granular testing
2727
over the project, while the latter ensure our example notebooks
2828
are runnable.
2929

30-
.. _dev-unittests
30+
.. _dev-unittests:
3131

3232
Unit Tests
3333
----------
@@ -51,7 +51,7 @@ deviations are acceptable. The coverage is not a factor in passing or failing
5151
CI, but substantial changes to the test suite should serve a valid purpose if
5252
the coverage does decrease.
5353

54-
.. _dev-notebooks
54+
.. _dev-notebooks:
5555

5656
Notebook Tests
5757
--------------
@@ -65,7 +65,7 @@ converts these to python scripts and runs them using
6565
It is beneficial to run this script during major changes to the API, as well as correcting any
6666
errors or deprecated/removed features.
6767

68-
.. _dev-lint
68+
.. _dev-lint:
6969

7070
Lint
7171
====

docs/develop/comparisons.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ appropriately.
8787

8888
.. autofunction:: serpentTools.utils.compare.logDirectCompare
8989

90-
.. autofunction:: serpentTools.utils.compare.splitdictByKeys
90+
.. autofunction:: serpentTools.utils.compare.splitDictByKeys
9191

9292
.. autofunction:: serpentTools.utils.compare.getKeyMatchingShapes
9393

docs/develop/logging.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ where ``"debug"`` can be one of ``"debug"``, ``"info"``, ``"warning"``,
3030
``"error"`` or ``"critical"``.
3131

3232
Alternatively, the level can be adjusting using the python
33-
:module:`logging` module::
33+
:mod:`logging` module::
3434

3535
>>> logging.getLogger("serpentTools").setLevel(logging.DEBUG)
3636

docs/develop/serpentVersions.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Checklist
2424
=========
2525

2626
#. Include the version as an option in the `serpentVersion` setting - :ref:`serpentVersion`
27-
#. Update the :ref:`defaultSettings` using the script ``docs/rstDefaultSettings.py``
27+
#. Update the :ref:`default-settings`
2828
#. Update |vars.yaml| to include the version and any new variable groups
2929
present in the results files - :ref:`dev-sss-versions-newVars`
3030
#. If |vars.yaml| is updated, update :ref:`variable-groups` using the script
@@ -115,7 +115,7 @@ Loading such a file would return a dictionary like::
115115
childV: {childV:{vx0, vx1, ...}}}
116116

117117

118-
.. _dev-sss-versions-newFormats
118+
.. _dev-sss-versions-newFormats:
119119

120120
Versions with New File Formats
121121
==============================

0 commit comments

Comments
 (0)