Sage documentation still has a lot of dangling links. To check if there are
some please use the recently added option --warn-links as in:
sage --docbuild --warn-links reference html
Beware that it triggers a full recompilation of the doc the first time you add
the option. Please see the developper guide (version 5.0_beta8 at least is
better) for details on how to setup links. Note that Sage-5.0 will have
several niceties for links:
- :trac:`12423` to link to trac site
- :python:`library/stdtypes.html#truth-value-testing` links to
http://docs.python.org/release/2.7.2/library/stdtypes.html#truth-value-testing
- :wikipedia:`Sage_(mathematics_software)`
If no one object, I'll change the checklist so that people don't add new
dangling links.
And finally, please use, use again and abuse of the markup
.. SEEALSO:
Have a nice doc :-)
Cheers,
Florent
Hi there,Sage documentation still has a lot of dangling links. To check if there are
some please use the recently added option --warn-links as in:sage --docbuild --warn-links reference html
Beware that it triggers a full recompilation of the doc the first time you add
the option.
Yeah, those recompilations are a pain. In such a situation, one would
want to hack sage-main to setup --warn-links as default compilation
option. Do you see a preferable way for this, that would survive
through -clone, and not interfere with mercurial branches?
Cheers,
Nicolas
--
Nicolas M. Thi�ry "Isil" <nth...@users.sf.net>
http://Nicolas.Thiery.name/
On Sat, Mar 24, 2012 at 04:35:42AM -0700, David Loeffler wrote:
> I tried to use this, but ran into the following stupid glitch.
Yeah, those recompilations are a pain. In such a situation, one would
want to hack sage-main to setup --warn-links as default compilation
option. Do you see a preferable way for this, that would survive
through -clone, and not interfere with mercurial branches?
I think I found a way to hack into Sphinx configuration so that changing
warn-links do not trigger the full recompilation of the doc. You have to
trigger in by hand if you want. For example in:
sage --docbuild reference html
sage --docbuild --warn-links reference html
The second compilation does nothing. And in
sage --docbuild reference html
touch <some sage source files>
sage --docbuild --warn-links reference html
The second recompilation only warns for the touched files. Is this what we
want ? Or do we want an extra option doing whatever ?
See #12869
Cheers,
Florent