| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the skip news label instead. |
Sorry, something went wrong.
…y a 'python -m pydoc -w' call
|
|
||
| def page(self, title, contents): | ||
| """Format an HTML page.""" | ||
| css_data = importlib.resources.files('pydoc_data').joinpath('_pydoc.css').read_text() |
There was a problem hiding this comment.
Can this fail on any envs?
Sorry, something went wrong.
There was a problem hiding this comment.
Ideally rhis should also be documented (i.e. you should say which file we are looking for). Maybe we can have a list of allowed files?
Sorry, something went wrong.
| @@ -0,0 +1 @@ | |||
| Add embedded styles to documentation pages created by a 'python -m pydoc -w' call | |||
There was a problem hiding this comment.
I'm on mobile but this new feature warrants a What's New entry as well.
By the way, I'd suggest using back quotes to format the command line rather than single quotes as well as adding a period at the end of the sentence:
Allow to specify embedded styles for documentation pages created by :option:`pydoc -w`.Please check that pydoc is documented as a program (with the .. program:: directive) and that -w is also a documented option (with the .. option:: directive). If not, you can just use
... created by the ``-w`` option of the :mod:`pydoc` program.
Sorry, something went wrong.
|
|
||
| def page(self, title, contents): | ||
| """Format an HTML page.""" | ||
| css_data = importlib.resources.files('pydoc_data').joinpath('_pydoc.css').read_text() |
There was a problem hiding this comment.
Ideally rhis should also be documented (i.e. you should say which file we are looking for). Maybe we can have a list of allowed files?
Sorry, something went wrong.
|
This PR is stale because it has been open for 30 days with no activity. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.