-
-
Notifications
You must be signed in to change notification settings - Fork 573
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
Links on sub-package is working #2902
Conversation
Thanks for the pull request @Naman9639! Everything looks great! |
Doesn't seem to fix the issue if you try to access it: https://6077-2165383-gh.circle-artifacts.com/0/root/project/docs/_build/html/dev_guide/stability.html I wonder why. |
I will have a look at it again |
I guess just removing the code_ref won't work |
Yes it seems so. |
Is there any way I can test this on my local machine? I mean any way so that I can have a look at the page after I make changes? |
Yes you can build the documentation locally. |
Ahh ok. I will try that |
`y: Traceback (most recent call last): Exception occurred: This is the error. I guess there is something wrong with time.py |
I think your version of astropy is out of date |
Why is it that after running setup.py I am able to open every page in HTML format but only stability.html file does not opens on web browser as it should. It simply opens a webpage having the code written in stability,rst file |
You mean the page has not rendered? Did you install the dependency for that page? If not there should have been a warning in the build log. |
Yes everything went well. There was no warning. I will try to run it again |
Try to access that page using the |
Ok I will try that No. The page has not rendered |
I build the docs again but the page won't render |
Could try hard refreshing the page? If it is not rendering, there must be a reason or a warning message. We know it renders online. |
If it still doesn't work, we might need redo the page to follow how astropy do it. |
That is the only warning I am getting |
In that case, I am not sure I have a solution. You either have to try using the online builds or move onto another issue. |
Oh ok I will try |
can you try |
Sure I'll do it |
Ah sorry, I meant |
That worked |
docs/dev_guide/stability.rst
Outdated
@@ -90,7 +90,7 @@ The current planned and existing sub-packages are: | |||
{% for module, prop in sunpy_modules.items() %} | |||
<tr> | |||
<td> | |||
<a href="code_ref/{{ module }}.html">sunpy.{{ module }}</a> | |||
<a href="{{ module }}.html">sunpy.{{ module }}</a> |
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.
it seemed to work for me locally if I do ./code_ref/{{ module }}.html
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.
Oh, Ok. I will try that
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.
This is not working because if we do ./code_ref/{{ module }}.html
we get the following link
file:///home/naman/sunpy-git/docs/_build/html/dev_guide/code_ref/cm.html
but we need to go to
file:///home/naman/sunpy-git/docs/_build/html/code_ref/cm.html
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.
Ah i did not type it correctly. It was meant to be two dots.
../code_ref/{{ module }}.html
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.
Yup I was about to say that because that worked for me
Thanks @Naman9639 |
Links on sub-package are working.
Description
Fixes #2889