theforeman / foreman-ansible-modules

Ansible modules for interacting with the Foreman API and various plugin APIs such as Katello
GNU General Public License v3.0
146 stars 163 forks source link

links in development docs broken on https://theforeman.github.io/foreman-ansible-modules/ #795

Open evgeni opened 4 years ago

evgeni commented 4 years ago
SUMMARY

in #791/#794 we fixed the rendering of the devel docs to point to the right file when viewed on GH, but the rendering on https://theforeman.github.io/foreman-ansible-modules/ still has bad links as the python files are not on the sphinx generated output

but using absolute links would mean to have the branch name in them, and thus the docs would always point to master, and not the branch/release the docs are for.

ISSUE TYPE
ANSIBLE VERSION
KATELLO/FOREMAN VERSION
APYPIE VERSION
STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS
evgeni commented 4 years ago

either try to make Sphinx copy the modules we refer or use absolute links and mangle them on build (bah).