-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Removing The Show_Source Button from API pages #48955
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
Conversation
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.
LGTM cc @datapythonista
doc/source/conf.py
Outdated
@@ -388,7 +388,7 @@ | |||
# html_split_index = False | |||
|
|||
# If true, links to the reST sources are added to the pages. | |||
# html_show_sourcelink = True | |||
# html_show_sourcelink = False |
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 seems to be a comment, did you try that this is working as expected?
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.
Even I had a similar doubt.
But since someone in the comments had suggested it so I implemented it.
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.
I guess you need to uncomment this line besides changing thr value.
But you should build the docs locally and check that whatever you changed works as expected.
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.
I have uncommented that line
Since the changes are reflected on the API pages I have no idea on how to check if it is working as expected.
If you could just guide me on that it will be very handy since I'm new to this open source contribution field
You need to create a pandas development environment with mamba, then run the Full documentation on this and more is here: https://pandas.pydata.org/docs/development/index.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.
@Pro-Coder04 did you try if this is working as expected? Can you provide a screenshot so reviewers can see how the change looks like please? Thanks!
This pull request is stale because it has been open for thirty days with no activity. Please update and respond to this comment if you're still interested in working on this. |
Thanks for the pull request, but it appears to have gone stale. If interested in continuing, please merge in the main branch, address any review comments and/or failing tests, and we can reopen. |
Made the required changes in the conf.py file.
It removes the show_source button from the API pages.