This PR allows custom RST directives to be used that are defined in https://github.com/mdolab/sphinx_mdolab_theme, such that flake8 will not report RST303 | Unknown directive type “XXX”.
Expected time until merged
Should not take too long
Type of change
[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (non-backwards-compatible fix or feature)
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no API changes)
[ ] Documentation update
[ ] Maintenance update
[ ] Other (please describe)
Testing
Checklist
[ ] I have run flake8 and black to make sure the Python code adheres to PEP-8 and is consistently formatted
[ ] I have formatted the Fortran code with fprettify or C/C++ code with clang-format as applicable
[ ] I have run unit and regression tests which pass locally with my changes
[ ] I have added new tests that prove my fix is effective or that my feature works
Purpose
This PR allows custom RST directives to be used that are defined in https://github.com/mdolab/sphinx_mdolab_theme, such that flake8 will not report
RST303 | Unknown directive type “XXX”
.Expected time until merged
Should not take too long
Type of change
Testing
Checklist
flake8
andblack
to make sure the Python code adheres to PEP-8 and is consistently formattedfprettify
or C/C++ code withclang-format
as applicable