All Projects → panda3d → panda3d-docs

panda3d / panda3d-docs

Licence: other
Sphinx documentation for Panda3D

Programming Languages

python
139335 projects - #7 most used programming language
javascript
184084 projects - #8 most used programming language
HTML
75241 projects
C++
36643 projects - #6 most used programming language
CSS
56736 projects
Batchfile
5799 projects
Makefile
30231 projects

Projects that are alternatives of or similar to panda3d-docs

pman
A Python package to help bootstrap and manage Panda3D applications
Stars: ✭ 15 (-59.46%)
Mutual labels:  panda3d, panda3d-game-engine
sphinxcontrib-django
This is a sphinx extension which improves the documentation of Django apps.
Stars: ✭ 37 (+0%)
Mutual labels:  sphinx, sphinx-doc
OpenLevelEditor
An open sourced modernized version of Disney's in-house Toontown Online level editor used to create .dna files.
Stars: ✭ 45 (+21.62%)
Mutual labels:  panda3d, panda3d-game-engine
gui-python-gtk
Repositório criado para documentar e centralizar conteúdos, dicas, tutoriais e exemplos de código sobre a construção de interfaces com a linguagem de programação Python (PyGObject) e o toolkit gráfico Gtk 4.
Stars: ✭ 85 (+129.73%)
Mutual labels:  sphinx, sphinx-doc
MapServer-documentation
Source repository for the MapServer documentation, for the live website. Please submit pull requests to the 'main' branch.
Stars: ✭ 29 (-21.62%)
Mutual labels:  sphinx, sphinx-doc
sphinx-theme
(Deprecated) Make Sphinx docs look like MDN
Stars: ✭ 27 (-27.03%)
Mutual labels:  sphinx, sphinx-doc
Panda3d
Powerful, mature open-source cross-platform game engine for Python and C++, developed by Disney and CMU
Stars: ✭ 3,035 (+8102.7%)
Mutual labels:  panda3d, panda3d-game-engine
sphinx-server
Sphinx documentation Docker image with Python server and support for PlantUML and more.
Stars: ✭ 62 (+67.57%)
Mutual labels:  sphinx, sphinx-doc
sphinx rtd dark mode
Adds a toggleable dark mode to the Read the Docs theme for Sphinx.
Stars: ✭ 29 (-21.62%)
Mutual labels:  sphinx, sphinx-doc
sphobjinv
Toolkit for manipulation and inspection of Sphinx objects.inv files
Stars: ✭ 53 (+43.24%)
Mutual labels:  sphinx, sphinx-doc
Readthedocs.org
The source code that powers readthedocs.org
Stars: ✭ 6,802 (+18283.78%)
Mutual labels:  sphinx, sphinx-doc
Torrentpier
Main project repository
Stars: ✭ 166 (+348.65%)
Mutual labels:  sphinx
Thinking Sphinx
Sphinx plugin for ActiveRecord/Rails
Stars: ✭ 1,609 (+4248.65%)
Mutual labels:  sphinx
Newznab Tmux
Laravel based usenet indexer
Stars: ✭ 127 (+243.24%)
Mutual labels:  sphinx
Python Blueprint
🐍 Example Python project using best practices 🔩
Stars: ✭ 123 (+232.43%)
Mutual labels:  sphinx
Ipypublish
A workflow for creating and editing publication ready scientific reports and presentations, from one or more Jupyter Notebooks, without leaving the browser!
Stars: ✭ 188 (+408.11%)
Mutual labels:  sphinx
Flask Sphinx Themes
Sphinx themes for Pallets projects
Stars: ✭ 164 (+343.24%)
Mutual labels:  sphinx
Curriculum
Ops School Curriculum
Stars: ✭ 1,565 (+4129.73%)
Mutual labels:  sphinx
Pythonpersiantutorial
A free and online Python book in Persian
Stars: ✭ 102 (+175.68%)
Mutual labels:  sphinx
Libsphinx
Sphinx-based Password Storage low-level library
Stars: ✭ 94 (+154.05%)
Mutual labels:  sphinx

Panda3D Documentation

This repository contains the source code for the documentation of the Panda3D game engine.

The resulting documentation can be found at: https://docs.panda3d.org/

Building the Documentation

The documentation is built upon Sphinx, and several extensions are required. The easiest way to install Sphinx and the extensions into an existing Python installation is using pip:

pip install -r requirements.txt

You can then build the manual in the desired format. For example, you can build it in the HTML format by executing this command in your command prompt:

make html

If the command was successful, the resulting documentation can be found in the _build/html folder. Other formats are also possible, such as make latexpdf for producing a .pdf file. Consult the Sphinx manual for other options.

On Windows, if you receive an error like the following:

The 'sphinx-build' command was not found. Make sure you have Sphinx
installed, then set the SPHINXBUILD environment variable to point
to the full path of the 'sphinx-build' executable. Alternatively you
may add the Sphinx directory to PATH.

It may be the case that your Python Scripts folder is not on the PATH. The easiest way to deal with this is by setting your SPHINXBUILD variable something like so (adjust for the location of your Python build):

set SPHINXBUILD=C:\Panda3D-1.10.13-x64\python\python.exe -m sphinx

Editing the Documentation

To make changes, simply edit the .rst files in a code editor and rerun the make html command to rebuild only the files that have changed.

To propose changes, push the changes to a local branch on a fork of the GitHub repository and open a Pull Request. For more information on how to do this, refer to this guide:

https://opensource.guide/how-to-contribute/#opening-a-pull-request

Coding Style

When editing the documentation, please try to conform to the following guidelines:

  • Running text should be wrapped to an 80-character ruler. Many editors have a feature to do this automatically (eg. Alt+Q in Sublime Text). Code may exceed this, as long as it follows our code guidelines for the respective language, with a strict limit of 86 characters relative to the base indent of the code block (LaTeX starts wrapping code beyond that).
  • Please configure your editor to strip extra spaces at the end of a line.
  • Use a single blank newline at the end of each file.
  • Indentation for ReStructuredText should be 3 spaces, except code blocks, which need to be indented to 4 spaces for Python code and 2 for C++.
  • The manual exists mostly to explain concepts and should not become a cookbook for code examples. However, in a few cases it is helpful to have a complete code example listed. In this case, put it in a separate .py file and refer to it using a .. literalinclude:: block.
  • When choosing a location for a new manual page, keep the filename concise, and try to avoid creating redundancy in the path. For example, prefer bullet/tutorial.rst over the-bullet-integration/bullet-tutorial.rst.
  • Page titles should be underlined with ===, sections with ---, and finally, sub-sections with ^^^, and the underline should be as wide as the title.
  • You can link to a class in the API reference using :class:`.NodePath` and to a method with :meth:`.NodePath.reparent_to()` if you want to include the class prefix, or :meth:`~.NodePath.reparent_to()` if you just want to show the name of the method, like reparent_to(). You can use custom text as well, like :meth:`myNodePath.reparentTo(render) <.NodePath.reparent_to>` .
  • When removing a page, please edit the _static/redirects.json file to create a redirect to a page that contains similar content. There is nothing more frustrating to a user than having existing bookmarks, links from other sites, and links from Google turn up 404 pages. The redirect file is processed by a custom 404 handler on the server, so you need to really delete the page for the redirect to work. If there is no obvious redirect target (eg. if the page was split up into multiple pages), you can leave a disambiguation page marked with :orphan: on the first line.
  • See the Python guide for more information.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].