Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
python
cpython
Repository navigation
Code
Issues
5k+
(5k+)
Pull requests
2.3k
(2.3k)
Actions
Projects
Security and quality
Insights
More
items
gh-127833: Docs: Add a
grammar-snippet
directive & replace
productionlist
- #127835
#127835
Merged
encukou
merged 20 commits into
python:
main
python/cpython:main
from
encukou:
doc-
grammar-
snippets
encukou/cpython:doc-grammar-snippets
Copy head branch name to clipboard
Feb 5, 2025
Conversation
Commits
20
(20)
Checks
Files changed
Merged
gh-127833: Docs: Add a
grammar-snippet
directive & replace
productionlist
#127835
encukou
merged 20 commits into
python:
main
python/cpython:main
from
encukou:
doc-
grammar-
snippets
encukou/cpython:doc-grammar-snippets
Copy head branch name to clipboard
Commits
Commits on Nov 20, 2024
First version of GrammarSnippetDirective, copied from an earlier branch
Show description for 86a0ecc
3 people
committed
86a0ecc
View commit details
Copy full SHA for 86a0ecc
Browse repository at this point
Commits on Dec 4, 2024
Add a grammar-snippet directive
blaisep
committed
f6ffb21
View commit details
Copy full SHA for f6ffb21
Browse repository at this point
Remove monkey patch for production list and Add CompatProductionList
Show description for 5cfc701
blaisep
committed
5cfc701
View commit details
Copy full SHA for 5cfc701
Browse repository at this point
Commits on Dec 11, 2024
Fix ReST grammar
encukou
committed
f0cbed8
View commit details
Copy full SHA for f0cbed8
Browse repository at this point
Complete the CompatProductionList class
Show description for 9139e25
encukou
and
johnslavik
committed
9139e25
View commit details
Copy full SHA for 9139e25
Browse repository at this point
Adjust docstrings & move GrammarSnippetDirective class up
encukou
committed
b10d78b
View commit details
Copy full SHA for b10d78b
Browse repository at this point
Merge in the main branch
encukou
committed
c18a4d3
View commit details
Copy full SHA for c18a4d3
Browse repository at this point
Run Ruff
encukou
committed
a403fb6
View commit details
Copy full SHA for a403fb6
Browse repository at this point
Run Ruff again with different flags
encukou
committed
074c189
View commit details
Copy full SHA for 074c189
Browse repository at this point
Commits on Jan 22, 2025
Merge in the main branch
encukou
committed
b2fb819
View commit details
Copy full SHA for b2fb819
Browse repository at this point
Turn the common function into a class with method; break make_link_to_token out
encukou
committed
ea9e2f0
View commit details
Copy full SHA for ea9e2f0
Browse repository at this point
Remove blank line
encukou
committed
b2205a8
View commit details
Copy full SHA for b2205a8
Browse repository at this point
Run `ruff format`
encukou
committed
829e4f0
View commit details
Copy full SHA for 829e4f0
Browse repository at this point
Add forgotten arguments
encukou
committed
e57a37e
View commit details
Copy full SHA for e57a37e
Browse repository at this point
Commits on Jan 29, 2025
Merge in the main branch
encukou
committed
fca04c7
View commit details
Copy full SHA for fca04c7
Browse repository at this point
Use Sphinx's token_xrefs function for formatting the tokens
encukou
committed
2732143
View commit details
Copy full SHA for 2732143
Browse repository at this point
Improve the highlight class injection
encukou
committed
ef3c552
View commit details
Copy full SHA for ef3c552
Browse repository at this point
Appease Ruff
encukou
committed
c0c8432
View commit details
Copy full SHA for c0c8432
Browse repository at this point
Appase Ruff again
encukou
committed
e2359b7
View commit details
Copy full SHA for e2359b7
Browse repository at this point
Add type annotations, minor clean-ups
Show description for 3fcb730
AA-Turner
committed
3fcb730
View commit details
Copy full SHA for 3fcb730
Browse repository at this point
You can’t perform that action at this time.