Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Portray silently requires README.md #17

Closed
timothycrosley opened this issue Aug 29, 2019 · 3 comments
Closed

Portray silently requires README.md #17

timothycrosley opened this issue Aug 29, 2019 · 3 comments
Labels
bug Something isn't working

Comments

@timothycrosley
Copy link
Owner

From @liiight via gitter:

hi there. just stumbled into portray and it looks great!
unfortunately i cant seem to get it working. seems i get a 404 when running it

Ors-MacBook-Pro-2:notifiers orcarmi$ portray in_browser
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pdoc/init.py:223: UserWarning: Couldn't get/parse source of '<Module 'notifiers.utils'>'
warn("Couldn't get/parse source of '{!r}'".format(doc_obj))
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pdoc/init.py:223: UserWarning: Couldn't get/parse source of '<Module 'notifiers.utils.schema'>'
warn("Couldn't get/parse source of '{!r}'".format(doc_obj))
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/yaml/constructor.py:126: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it wi
ll stop working
if not isinstance(key, collections.Hashable):
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/mkdocs/structure/pages.py:253: DeprecationWarning: Using the add method to register a processor or pattern is deprecated. Use the register method instead.
md.treeprocessors.add("relpath", relpath, "_end")
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/markdown/core.py:128: DeprecationWarning: The 'md_globals' parameter of 'mkdocs.structure.pages._RelativePathExtension.extendMarkdown' is deprecated.
ext._extendMarkdown(self)
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/jinja2/lexer.py:587: DeprecationWarning: invalid escape sequence '\s'
.decode('unicode-escape')

██████╗ ██████╗ ██████╗ ████████╗██████╗ █████╗ ██╗ ██╗
██╔══██╗██╔═══██╗██╔══██╗╚══██╔══╝██╔══██╗██╔══██╗╚██╗ ██╔╝
██████╔╝██║ ██║██████╔╝ ██║ ██████╔╝███████║ ╚████╔╝
██╔═══╝ ██║ ██║██╔══██╗ ██║ ██╔══██╗██╔══██║ ╚██╔╝
██║ ╚██████╔╝██║ ██║ ██║ ██║ ██║██║ ██║ ██║
╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝

    Your Project with Great Documentation.

Version: 1.0.5
Copyright Timothy Edmund Crosley 2019 MIT License

Serving on 127.0.0.1:8000...
127.0.0.1 - - [27/Aug/2019 23:02:40] "GET / HTTP/1.1" 404 0

@timothycrosley timothycrosley added the bug Something isn't working label Aug 29, 2019
@timothycrosley timothycrosley changed the title Portray requires README.md Portray silently requires README.md Aug 29, 2019
@timothycrosley
Copy link
Owner Author

This is fixed in portray 1.1.0: https://timothycrosley.github.io/portray/CHANGELOG/#110-august-29

@liiight
Copy link

liiight commented Aug 29, 2019

Thanks for clarifying this. Is support for README.rst planned?

@timothycrosley
Copy link
Owner Author

I'm certainly open to supporting README.rst and rst in general, but haven't set any concrete plans to do so yet. Any rst support would have to take a slight backseat (if I were the one implementing it) to replacing pdoc3: #19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants