7 Commits

Author SHA1 Message Date
Pablo Vazquez
561f26e31a Docs: Update favicon
Use a higher resolution PNG version of the icon, matching other
websites related to development.

The previous favicon.ico is from the days of the old Typo3 blender.org

Part of infrastructure/blender-org#57107
2024-06-05 19:21:36 +02:00
Campbell Barton
8eb0abcc69 Cleanup: replace %-formatting with str.format in doc/ 2024-04-27 16:06:50 +10:00
Aaron Carlisle
7b4fa19fca Docs: Python: Add copy button to code blocks
Uses the sphinx-copybutton to add a copy icon to code block to quickly copy content to the clipboard.

Pull Request: #119948
2024-03-29 20:39:35 -04:00
Campbell Barton
976b2d47b4 Unbreak building PyDocs from error in recent refactor
Building docs with buildinfo was failing
2024-03-27 16:26:31 +11:00
Campbell Barton
2709888f2d Cleanup: de-duplicate date assignment
Use the same format when there is no build-info available.
2024-03-27 15:01:30 +11:00
Campbell Barton
81a636dcf4 Cleanup: remove unused import, consistent quote style 2024-03-27 14:54:00 +11:00
Aaron Carlisle
32db305899 Docs: Python: Refactor the config file out of 'sphinx_doc_gen.py'
This was done originally because we need access to some information that is avalable from `bpy` however, we only need a few pieces of information.

Instead, I have refactored the code to a traditional `conf.py` file that uses template strings that get substituted when the file is copied to the build folder.

The goal here is to make it simpler to adjust the configuration.

This change also moves the config generation from `rna2sphinx` to the main function.

Pull Request: https://projects.blender.org/blender/blender/pulls/119904
2024-03-27 04:27:40 +01:00