Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

WEB: Refine PDEP presentation#58791

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
rhshadrach wants to merge2 commits intopandas-dev:main
base:main
Choose a base branch
Loading
fromrhshadrach:doc_pdep_publishing

Conversation

rhshadrach
Copy link
Member

Alternative to#51467. I believe this address all items in the linked issue. The main benefit in not switching to publishing PDEPs in sphinx is that it then matches the style of the rest of the webpage.

This is just a rough version to demonstrate what's possible, some refinements (highlighted below) need to be made if we are to merge this.

Comment on lines +115 to +122
h2:hover a.headerlink {
opacity: 1;
transition: opacity 0.5s;
}
h3:hover a.headerlink {
opacity: 1;
transition: opacity 0.5s;
}
Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Ithink we should be able to combine these two, but wasn't able to figure out the syntax.

body = markdown.markdown(
content, extensions=context["main"]["markdown_extensions"]
)
if "pdeps/" in fname:
Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Because of the use ofTocExtension below, we can't use the usual yaml. Not sure if there is a work around or a better approach here.

@rhshadrach
Copy link
MemberAuthor

/preview

@github-actionsGitHub Actions
Copy link
Contributor

Website preview of this PR available at:https://pandas.pydata.org/preview/pandas-dev/pandas/58791/

@rhshadrach
Copy link
MemberAuthor

PDEP6 shows code highlighting.

cc@jorisvandenbossche@datapythonista

@jorisvandenbossche
Copy link
Member

@rhshadrach thanks a lot for looking into this!

I certainly think this is a nice improvement, and if we don't have agreement on using sphinx instead, we should definitely merge this one. But if you ask my honest opinion, I personally still think#51467 gives the better result.

Concrete feedback on the changes here:

@Aloqeely
Copy link
Member

Aloqeely commentedMay 20, 2024
edited
Loading

Personal preference, but I think the "On this page" sidebar (from@jorisvandenbossche's PR) is cleaner and resembles the docs more than the table of contents here. (I guess that's a benefit of using Sphinx?)

@github-actionsGitHub Actions
Copy link
Contributor

This pull request is stale because it has been open for thirty days with no activity. Pleaseupdate and respond to this comment if you're still interested in working on this.

@datapythonista
Copy link
Member

/preview

@datapythonista
Copy link
Member

@rhshadrach should we merge this?

@datapythonista
Copy link
Member

/preview

@github-actionsGitHub Actions
Copy link
Contributor

Website preview of this PR available at:https://pandas.pydata.org/preview/pandas-dev/pandas/58791/

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@datapythonistadatapythonistadatapythonista approved these changes

Assignees
No one assigned
Labels
EnhancementWebpandas website
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

WEB: use sphinx to render the PDEPs
4 participants
@rhshadrach@jorisvandenbossche@Aloqeely@datapythonista

[8]ページ先頭

©2009-2025 Movatter.jp