summaryrefslogtreecommitdiff
path: root/doc/tools/doc_status.py
AgeCommit message (Collapse)Author
2020-03-30SCons: Format buildsystem files with psf/blackRémi Verschelde
Configured for a max line length of 120 characters. psf/black is very opinionated and purposely doesn't leave much room for configuration. The output is mostly OK so that should be fine for us, but some things worth noting: - Manually wrapped strings will be reflowed, so by using a line length of 120 for the sake of preserving readability for our long command calls, it also means that some manually wrapped strings are back on the same line and should be manually merged again. - Code generators using string concatenation extensively look awful, since black puts each operand on a single line. We need to refactor these generators to use more pythonic string formatting, for which many options are available (`%`, `format` or f-strings). - CI checks and a pre-commit hook will be added to ensure that future buildsystem changes are well-formatted.
2020-02-01Improve the `doc_status.py` console outputHugo Locurcio
- Duplicate the header when the `-a` flag is enabled. Since lots of items are displayed in this case, this helps the user remember which column is which without having to scroll back to the top. - Bolden the overall percentages for easier visual grepping.
2020-01-24Count theme items in doc_status.pyTomasz Chabora
2019-12-06Add a pre-commit hook to check the class reference syntaxHugo Locurcio
This also makes documentation helper scripts executable.
2019-10-08Fixed AttributeError on doc_status.pySamuelDeboni
2019-04-19doc: Drop unused <demos> tagRémi Verschelde
2018-11-05doc: Use HTTPS for docs.godotengine.org and point to latest branchRémi Verschelde
Fixes #23509.
2017-11-24doc status: Partial revert of e23454d, setgets are no longer listedRémi Verschelde
2017-10-15filtering getters&setters over strings works for AudioStreamPlayer*Grosskopf
2017-10-07doc_status.py: Error message for unknown CLI flag, switch shebang to pythonmhilbrunner
2017-10-03doc_status.py: Add -e (--empty) option to hide items with nothing left to domhilbrunner
2017-10-02Merge pull request #11757 from mhilbrunner/doc_status_py27Andreas Haas
doc_status.py Python 2.7 backwards compatibility & Windows support
2017-10-02Merge pull request #11654 from bojidar-bg/docstatus-fnmatchPoommetee Ketson
Allow using wildcards to filter docstatus class names
2017-10-01doc_status.py Python 2.7 backwards compatibilitymhilbrunner
2017-09-28Allow using wildcards to filter docstatus class namesBojidar Marinov
[ci skip]
2017-09-16Make doc_status output a bit more markdown-friendly, hide some printsBojidar Marinov
2017-09-15Update doc status generator.Daniel J. Ramirez
[ciskip]
2017-05-06Doc: Drop unmainted converters for html, textile, dokuwikiRémi Verschelde
2017-04-05Fix URLs to moved docs pagesRémi Verschelde
Closes #8266.
2017-03-29Update classes.xml to master version, add a small feature to doc_statusBojidar Marinov
2016-11-01style: Fix PEP8 blank lines issues in Python filesRémi Verschelde
Done with `autopep8 --select=E3,W3`, fixes: - E301 - Add missing blank line. - E302 - Add missing 2 blank lines. - E303 - Remove extra blank lines. - E304 - Remove blank line following function decorator. - E309 - Add missing blank line. - W391 - Remove trailing blank lines.
2016-11-01style: Fix PEP8 whitespace issues in Python filesRémi Verschelde
Done with `autopep8 --select=E2,W2`, fixes: - E201 - Remove extraneous whitespace. - E202 - Remove extraneous whitespace. - E203 - Remove extraneous whitespace. - E211 - Remove extraneous whitespace. - E221 - Fix extraneous whitespace around keywords. - E222 - Fix extraneous whitespace around keywords. - E223 - Fix extraneous whitespace around keywords. - E224 - Remove extraneous whitespace around operator. - E225 - Fix missing whitespace around operator. - E226 - Fix missing whitespace around operator. - E227 - Fix missing whitespace around operator. - E228 - Fix missing whitespace around operator. - E231 - Add missing whitespace. - E231 - Fix various deprecated code (via lib2to3). - E241 - Fix extraneous whitespace around keywords. - E242 - Remove extraneous whitespace around operator. - E251 - Remove whitespace around parameter '=' sign. - E261 - Fix spacing after comment hash. - E262 - Fix spacing after comment hash. - E265 - Format block comments. - E271 - Fix extraneous whitespace around keywords. - E272 - Fix extraneous whitespace around keywords. - E273 - Fix extraneous whitespace around keywords. - E274 - Fix extraneous whitespace around keywords. - W291 - Remove trailing whitespace. - W293 - Remove trailing whitespace.
2016-11-01style: Start applying PEP8 to Python files, indentation issuesRémi Verschelde
Done with `autopep8 --select=E1`, fixes: - E101 - Reindent all lines. - E112 - Fix under-indented comments. - E113 - Fix over-indented comments. - E115 - Fix under-indented comments. - E116 - Fix over-indented comments. - E121 - Fix a badly indented line. - E122 - Fix a badly indented line. - E123 - Fix a badly indented line. - E124 - Fix a badly indented line. - E125 - Fix indentation undistinguish from the next logical line. - E126 - Fix a badly indented line. - E127 - Fix a badly indented line. - E128 - Fix a badly indented line. - E129 - Fix a badly indented line.
2016-10-17SCsub: Add python shebang as a hint for syntax highlightingRémi Verschelde
Also switch existing shebangs to "better" /usr/bin/env python.
2016-04-26Various improvements to doc_status.pyRémi Verschelde
- Make comments opt-in (smaller table in width) - Reduce length of Brief Description and Description (also smaller table as output) - Make names cyan (blue is too dark on black terminal) - Drop some redundant synonyms for the flags
2016-04-22Add a python script to check the current doc statusBojidar Marinov