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

Added copyright link for the devguide#665

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

Closed
jablonskidev wants to merge1 commit intopython:mainfromjablonskidev:master

Conversation

jablonskidev
Copy link
Contributor

In order to resolve issues#652 and#653 in the devguide (which are duplicates of each other), we added a theme variable topython_docs_theme/layout.html in PR#67. This will allow all users of the python-docs-theme library to have more functionality and backwards compatibility. In addition, if users don't define a link for copyright information, then they won't have a broken link that leads to nowhere in their page footer.

In order to have the correct copyright link for the devguide specifically, we just needed to specify it in thehtml_theme_options dictionary in the devguide'sconf.py, which I did in this commit.

In order to resolve issuespython#652 andpython#653 in the devguide (which are duplicates of each other), we added a theme variable to `python_docs_theme/layout.html` in PRpython#67. This will allow all users of the python-docs-theme library to have more functionality and backwards compatibility. In addition, if users don't define a link for copyright information, then they won't have a broken link that leads to nowhere in their page footer.In order to have the correct copyright link for the devguide specifically, we just needed to specify it in the `html_theme_options` dictionary in the devguide's `conf.py`, which I did in this commit.
@jablonskidev
Copy link
ContributorAuthor

@CAM-Gerlach The build failed because the changes topython_docs_theme/layout.html that we discussed in PR#67 for python-docs-theme have not yet been merged. Here's the error message:

CI-error

From what I understand, I just need to wait for you to merge the changes topython_docs_theme/layout.html, and then we can test that the changes I'm proposing in this PR work.

@CAM-Gerlach
Copy link
Member

Yup, exactly, except I'm not an org member, just a drive-by contributor, so I can't merge anything haha! That's up to@Mariatta , I assume, and depends on how you have your infra set up to pull in the theme (which I'm not really familiar with). Thanks!

@matrixise
Copy link
Member

Hi@jablonskidev

Could you check with mypython/python-docs-theme#67 (comment) ?

Thank you

@CAM-Gerlach
Copy link
Member

Hey, looks like the theme changes were merged@jablonskidev . Any chance this could get a rebuild?

@hugovk
Copy link
Member

Let's close this because the devguide is now using theFuro theme instead (#679) which doesn't support thecopyright_url option:

But thanks anyway for the PR!

CAM-Gerlach reacted with thumbs up emoji

@hugovkhugovk closed thisJan 27, 2022
@CAM-Gerlach
Copy link
Member

Oh well; so much for all that, heh.

hugovk reacted with thumbs up emoji

@hugovk
Copy link
Member

On the bright side, python_docs_theme was improved for others :)

CAM-Gerlach reacted with hooray emoji

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

5 participants
@jablonskidev@CAM-Gerlach@matrixise@hugovk@the-knights-who-say-ni

[8]ページ先頭

©2009-2025 Movatter.jp