You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
:mod: role does not create link in html output #333
I've followed the examples in the Sphinx documentation, but no links are being generated for the :mod: role in my html output. Links are only generated for the :func: role. I apologize if this is not the right forum; I cannot find anyplace else for help with this issue. Thank you.
Here is my rst source:
pycrackabq API
The :mod:pycrackabq.caetools Module
.. module:: pycrackabq.caetools
Contains tools for modeling cracks in Abaqus/CAE.
The :mod:pycrackabq.viewertools Module
.. module:: pycrackabq.viewertools
Contains tools related to fracture mechanics and crack growth
that are tied to Abaqus/Viewer, such as stress gradient extraction
and determining the crack orientation based on principal directions.
link to :obj:pycrackabq.caetools module.
link to :func:pycrackabq.fracmech.nasgro_fcgr link.
link to :mod:pycrackabq.fracmech module.
The :mod:pycrackabq.ksolutions Module
.. module:: pycrackabq.ksolutions
A repository for stress intensity factor (K) solutions.
The :mod:pycrackabq.fracmech Module
.. automodule:: pycrackabq.fracmech
:members:
The :mod:pycrackabq.common Module
.. module:: pycrackabq.common
Miscellaneous tools that are used across other modules.
I just split the file 'api.rst' into separate documents: one for each module (literally just cut and paste, then put :toctree:: directive in 'api.rst'.
Now the module links areproperly created. Is there a reason the module hyperlinks were not created by :mod: when the automodule directives were all in one rst file, but it works when they are in separate files?
Activity
shimizukawa commentedon Jan 2, 2015
From ah77 on 2010-02-11 14:05:00+00:00
Added a file attachment containing all the files, including HTML output.
shimizukawa commentedon Jan 2, 2015
From Anonymous on 2010-02-15 20:39:24+00:00
I just split the file 'api.rst' into separate documents: one for each module (literally just cut and paste, then put :toctree:: directive in 'api.rst'.
Now the module links areproperly created. Is there a reason the module hyperlinks were not created by :mod: when the automodule directives were all in one rst file, but it works when they are in separate files?
shimizukawa commentedon Jan 2, 2015
From Georg Brandl on 2010-02-19 09:41:35+00:00
This is a known behavior (module references on the same page not creating links) and is fixed in trunk. Thanks for reporting!
shimizukawa commentedon Jan 2, 2015
From Georg Brandl on 2011-09-22 10:14:41+00:00
Removing milestone: 1.0 (automated comment)
shimizukawa commentedon Jan 2, 2015
From Georg Brandl on 2013-03-31 13:57:20+00:00
Removing version: 0.6.4 (automated comment)