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

Adapt to RTD Addons#4386

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

Merged
Bibo-Joshi merged 1 commit intomasterfromdocs-rtd-addons
Jul 21, 2024
Merged

Adapt to RTD Addons#4386

Bibo-Joshi merged 1 commit intomasterfromdocs-rtd-addons
Jul 21, 2024

Conversation

Bibo-Joshi
Copy link
Member

@Bibo-JoshiBibo-Joshi commentedJul 17, 2024
edited
Loading

I received a mail from RT pointing tohttps://about.readthedocs.com/blog/2024/07/addons-by-default/ and explaining that ptb currenlty relies onhtml_baseurl and that it should be set via

importos# Set canonical URL from the Read the Docs Domainhtml_baseurl=os.environ.get("READTHEDOCS_CANONICAL_URL","")# Tell Jinja2 templates the build is running on Read the Docsifos.environ.get("READTHEDOCS","")=="True":html_context["READTHEDOCS"]=True

This is also explained somewhat in thecurrent docs

Additional changes may be needed to adapt toRTD addons - in particular they include a nativesearch as you type addon. I'll create a spearate issue for that and link to the furo theme issue tracking the topic.

harshil21 reacted with thumbs up emoji
@Bibo-JoshiBibo-Joshi added the ⚙️ documentationaffected functionality: documentation labelJul 17, 2024
@Bibo-JoshiBibo-Joshi mentioned this pull requestJul 17, 2024
@Bibo-Joshi
Copy link
MemberAuthor

Test build is up athttps://docs.python-telegram-bot.org/en/docs-rtd-addons/index.html and looks successful. All links correctly link back to docs.ptb.org

@Bibo-JoshiBibo-Joshi merged commitc3f17bb intomasterJul 21, 2024
7 checks passed
@Bibo-JoshiBibo-Joshi deleted the docs-rtd-addons branchJuly 21, 2024 19:12
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsJul 29, 2024
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers
No reviews
Assignees
No one assigned
Labels
⚙️ documentationaffected functionality: documentation
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@Bibo-Joshi

[8]ページ先頭

©2009-2025 Movatter.jp