-
-
Notifications
You must be signed in to change notification settings - Fork 528
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
Reference manual: Show modularized sagelib packages separately #35734
Changes from 8 commits
0f14234
561c940
7630b03
e2c2c69
f503762
a1a211f
c4a1e41
3fb541f
3395892
99739d3
600cc9b
f72a8f9
3995d71
8238dc6
9f3a128
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -89,8 +89,8 @@ fi | |
OUTPUT_INDEX="$OUTPUT_DIR"/index.rst | ||
cat > "$OUTPUT_INDEX" <<EOF | ||
|
||
External Packages | ||
================= | ||
Features, Distributions, and External Packages | ||
============================================== | ||
|
||
Standard Packages | ||
----------------- | ||
|
@@ -100,7 +100,16 @@ Sage depends. It installs them automatically if it does not find | |
equivalent system packages. | ||
|
||
EOF | ||
for PKG_BASE in $(sage-package list --has-file SPKG.rst :standard: | sort); do | ||
for PKG_BASE in $(sage-package list --has-file SPKG.rst :standard: | grep -v '^sagemath_' | sort); do | ||
echo "* :ref:\`spkg_$PKG_BASE\`" | ||
done >> "$OUTPUT_INDEX" | ||
cat >> "$OUTPUT_INDEX" <<EOF | ||
|
||
Packages of the Modularized Sage Library | ||
---------------------------------------- | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. How about "Distribution Packages of the Sage Library", now that "distribution package" is a standard term? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good idea, done |
||
EOF | ||
for PKG_BASE in $(sage-package list --has-file SPKG.rst | grep '^sagemath_' | sort); do | ||
echo "* :ref:\`spkg_$PKG_BASE\`" | ||
done >> "$OUTPUT_INDEX" | ||
cat >> "$OUTPUT_INDEX" <<EOF | ||
|
@@ -112,7 +121,7 @@ For additional functionality, you can install some of the following | |
optional packages. | ||
|
||
EOF | ||
for PKG_BASE in $(sage-package list --has-file SPKG.rst :optional: | sort); do | ||
for PKG_BASE in $(sage-package list --has-file SPKG.rst :optional: | grep -v '^sagemath_' | sort); do | ||
echo "* :ref:\`spkg_$PKG_BASE\`" | ||
done >> "$OUTPUT_INDEX" | ||
cat >> "$OUTPUT_INDEX" <<EOF | ||
|
@@ -125,11 +134,48 @@ Some packages that provide additional functionality are marked as | |
integration of these packages into the Sage distribution. | ||
|
||
EOF | ||
for PKG_BASE in $(sage-package list --has-file SPKG.rst :experimental: | sort); do | ||
for PKG_BASE in $(sage-package list --has-file SPKG.rst :experimental: | grep -v '^sagemath_' | sort); do | ||
echo "* :ref:\`spkg_$PKG_BASE\`" | ||
done >> "$OUTPUT_INDEX" | ||
cat >> "$OUTPUT_INDEX" <<EOF | ||
|
||
Runtime-Detectable Features and Conditional Doctests | ||
---------------------------------------------------- | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. How about just "Features and Conditional Doctests" or "Features for Conditional Doctests" or even just "Features"? We do not need to explain what a feature is in the title. Or do you need? If not, let's make the title short. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I've shortened it |
||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
sage/features | ||
sage/features/sagemath | ||
sage/features/pkg_systems | ||
sage/features/bliss | ||
sage/features/csdp | ||
sage/features/databases | ||
sage/features/dvipng | ||
sage/features/ffmpeg | ||
sage/features/four_ti_2 | ||
sage/features/gap | ||
sage/features/graph_generators | ||
sage/features/graphviz | ||
sage/features/imagemagick | ||
sage/features/interfaces | ||
sage/features/internet | ||
sage/features/kenzo | ||
sage/features/latex | ||
sage/features/latte | ||
sage/features/lrs | ||
sage/features/mcqd | ||
sage/features/meataxe | ||
sage/features/mip_backends | ||
sage/features/normaliz | ||
sage/features/pandoc | ||
sage/features/pdf2svg | ||
sage/features/polymake | ||
sage/features/rubiks | ||
sage/features/tdlib | ||
sage/features/join_feature | ||
sage/features/all | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. How about splitting feature facilities from features themselves? So There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In a separate toctree then? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe. Perhaps we may later move them three out of this section if we could find a better place for them. But I have no idea right now. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. A good place for the three may be found in the section Infrastructure > Programming Facilities > Test Framework or a new section Infrastructure > Programming Facilities > Features Framework (or Features Facility or just Features) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Right, that's where they are coming from... |
||
All External Packages | ||
--------------------- | ||
|
||
|
@@ -142,11 +188,14 @@ EOF | |
|
||
OUTPUT_INDEX="$OUTPUT_DIR"/index_alph.rst | ||
cat >> "$OUTPUT_INDEX" <<EOF | ||
|
||
Details of external packages | ||
============================ | ||
|
||
Packages are in alphabetical order. | ||
|
||
.. default-role:: code | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
|
@@ -160,3 +209,8 @@ for PKG_BASE in $(sage-package list --has-file SPKG.rst | sort); do | |
(echo ".. _spkg_$PKG_BASE:" && echo && OUTPUT_RST=1 sage-spkg-info $PKG_BASE) | sed -e "s|https://github.com/sagemath/sage/issues/\([0-9]*\)|:issue:\`\1\`|g" -e "s|https://arxiv.org/abs/cs/\([0-9]*\)|:arxiv:\`cs/\1\`|g" > "$OUTPUT_DIR"/$PKG_BASE.rst | ||
echo >> "$OUTPUT_INDEX" " $PKG_BASE" | ||
done | ||
cat >> "$OUTPUT_INDEX" <<EOF | ||
|
||
.. default-role:: | ||
|
||
EOF |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about just "Packages and Features"?
And we list them in the order