-
-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
1,089 additions
and
1,048 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,29 @@ | ||
# -*- coding: utf-8 -*- | ||
""" | ||
Module for handling Mathics-style documentation. | ||
A module and library that assists in organizing document data | ||
located in static files and docstrings from | ||
Mathics3 Builtin Modules. Builtin Modules are written in Python and | ||
reside either in the Mathics3 core (mathics.builtin) or are packaged outside, | ||
in Mathics3 Modules e.g. pymathics.natlang. | ||
Right now this covers common LaTeX/PDF and routines common to | ||
Mathics Django. When this code is moved out, perhaps it will | ||
include the Mathics Django-specific piece. | ||
This data is stored in a way that facilitates: | ||
* organizing information to produce a LaTeX file | ||
* running documentation tests | ||
* producing HTML-based documentation | ||
The command-line utility ``docpipeline.py``, loads the data from | ||
Python modules and static files, accesses the functions here. | ||
Mathics Django also uses this library for its HTML-based documentation. | ||
The Mathics3 builtin function ``Information[]`` also uses to provide the | ||
information it reports. | ||
As with reading in data, final assembly to a LaTeX file or running | ||
documentation tests is done elsewhere. | ||
FIXME: This code should be replaced by Sphinx and autodoc. | ||
Things are such a mess, that it is too difficult to contemplate this right now. | ||
Also there higher-priority flaws that are more more pressing. | ||
In the shorter, we might we move code for extracting printing to a | ||
separate package. | ||
""" |
Oops, something went wrong.