Skip to content

DOC: update doc/readme.txt & remove devel/readme #27631

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 42 additions & 19 deletions doc/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,35 +9,58 @@ See :file:`doc/devel/documenting_mpl.rst` for instructions to build the docs.
Organization
------------

This is the top level build directory for the Matplotlib
documentation. All of the documentation is written using sphinx, a
python documentation system built on top of ReST. This directory contains
This is the top level directory for the Matplotlib
documentation. All of the documentation is written using Sphinx, a
python documentation system based on reStructuredText. This directory contains the
following

* users - the user documentation, e.g., installation, plotting tutorials,
configuration tips, faq, explanations, etc.
Files
^^^^^

* devel - documentation for Matplotlib developers
* index.rst - the top level include document (and landing page) for the Matplotlib docs

* api - placeholders to automatically generate the api documentation
* conf.py - the sphinx configuration

* tutorials, plot_types, and gallery - automatically
generated by sphinx-gallery from ``../tutorials``, ``../plot_types``, and
``../examples`` respectively (these are only present if docs have been
built locally).
* docutils.conf - htmnl output configuration

* thirdpartypackages - redirect to <https://matplotlib.org/mpl-third-party/>
* Makefile and make.bat - entry points for building the docs

* mpl_toolkits - documentation of individual toolkits that ship with
Matplotlib
* matplotlibrc - rcParam configuration for docs

* index.rst - the top level include document for Matplotlib docs
* missing-references.json - list of known missing/broken references

* conf.py - the sphinx configuration

* Makefile and make.bat - entry points for building the docs
Content folders
^^^^^^^^^^^^^^^

* api - templates for generating the api documentation

* _static - used by the sphinx build system
* devel - documentation for contributing to Matplotlib

* _templates - used by the sphinx build system
* project - about Matplotlib, e.g. mission, code of conduct, licenses, history, etc.

* users - usage documentation, e.g., installation, tutorials, faq, explanations, etc.

* thirdpartypackages - redirect to <https://matplotlib.org/mpl-third-party/>

Build folders
^^^^^^^^^^^^^

* _static - supplementary files; e.g. images, CSS, etc.

* _templates - Sphinx page templates

* sphinxext - Sphinx extensions for the Matplotlib docs

Symlinks
--------

During the documentation build, sphinx-gallery creates symlinks from the source folders
in `/galleries` to target_folders in '/doc'; therefore ensure that you are editing the
real files rather than the symbolic links.

Source files -> symlink:
* galleries/tutorials -> doc/tutorials
* galleries/plot_types -> doc/plot_types
* galleries/examples -> doc/gallery
* galleries/users_explain -> doc/users/explain
9 changes: 0 additions & 9 deletions doc/devel/README.txt

This file was deleted.