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
texinfo documentation for sage #21734
Comments
This comment has been minimized.
This comment has been minimized.
comment:2
see also https://groups.google.com/forum/#!topic/sage-devel/MjhzbpqnLXs applying this patch and doing Currently I do not know how to make sage New commits:
|
Commit: |
Author: Martin Rubey |
This comment has been minimized.
This comment has been minimized.
comment:4
I am having some problems with the texinfo-hyperlinks. For example, in
the
|
comment:5
Replying to @mantepse:
in the standalone info program, this problem does not appear. There are some hints in the Sphinx FAQ http://www.sphinx-doc.org/en/stable/faq.html#texinfo-info but I do not see why they would apply. |
comment:6
Replying to @mantepse: Thank you for the patch. I attended a conference this week and will try the patch when I go back home. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:12
Florent, if you could help with the problem reported at https://groups.google.com/forum/#!topic/sphinx-users/-8cHf1ZD5S4 that would be great. This seems very much related to #9128! |
Changed keywords from none to Sphinx |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:14
Dear Sho, unfortunately, I still have no clue how to enable the crossreferences between the individual manuals. I asked on the sphinx user group https://groups.google.com/forum/#!topic/sphinx-users/-8cHf1ZD5S4 and also on the sphinx github page sphinx-doc/sphinx#3089, but have not got any response so far. meanwhile, I discovered I suspect that this (I mean |
comment:15
Replying to @mantepse: It is already convenient to view Sage document via info. Thank you very much. Concerning with sphinx, I cannot help you, sorry. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:17
The reference manual doesn't build for me (html, not texinfo) without this change: diff --git a/src/doc/en/reference/conf.py b/src/doc/en/reference/conf.py
index 5c7bbe95ec..22961d90ae 100644
--- a/src/doc/en/reference/conf.py
+++ b/src/doc/en/reference/conf.py
@@ -67,7 +67,7 @@ latex_elements['preamble'] += r'''
# @end direntry
texinfo_documents = [
-('index', name, title, u'The Sage Development Team', name, title, 'SageMath')
+('index', name, project, u'The Sage Development Team', name, project, 'SageMath')
]
#Ignore all .rst in the _sage subdirectory or something similar: |
comment:18
You could also consider adding a diff --git a/build/make/deps b/build/make/deps
index 371a56a767..65ad3fdc07 100644
--- a/build/make/deps
+++ b/build/make/deps
@@ -247,6 +247,8 @@ doc-src-clean:
doc-output-clean:
rm -rf "$(SAGE_SHARE)/doc/sage"
+doc-texinfo: $(DOC_DEPENDENCIES)
+ $(AM_V_at)cd ../.. && sage-logger -p './sage --docbuild all texinfo $(SAGE_DOCBUILD_OPTS)' logs/doctexinfo.log
###############################################################################
# Cleaning up (After doing this, |
comment:19
Thank you for looking into this! I'm afraid, however, that there is a shostopper: I couldn't get the links between the individual texinfo files to work. I filed sphinx-doc/sphinx#3089 but it was closed. The advice was: "Please integrate your project into single one." It may well be that I misunderstood the whole thing - but as far as I could tell at the time, the sage documentation consists of many subprojects, one for each folder below |
texinfo is the native documentation format to emacs. sphinx can output texinfo. we should use that.
CC: stakemorii@gmail.com @hivert
Component: documentation
Keywords: Sphinx
Author: Martin Rubey
Branch/Commit: u/mantepse/texinfo_documentation_for_sage @
b3dac9d
Issue created by migration from https://trac.sagemath.org/ticket/21734
The text was updated successfully, but these errors were encountered: