-
Notifications
You must be signed in to change notification settings - Fork 11
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
Documentation in Sphinx #8
Conversation
…arted, ror, requirements and setup pages. Edited a bunch of other existing pages.
…ome other parts of the API such as the Renderer class.
…es. Added a Jinja2 Templates section to showcase how the templates actually work with pyLDAPI and what variables they require.
@edmondchuc Should some or all of these changes be merged into master? |
@ashleysommer The docs are currently on the 'docs' branch since I was testing documentation deployment to Read the Docs. Once I double check that I have made no functional changes, I will make a pull request to master branch. I've changed I also drafted a possible solution to the Renderer class here: #9 |
Most of the changes in the source code non-functional such as changes in the docstrings, etc.
There is one functional change in
pyldapi.Renderer._render_alternates_view()
. It has been changed topyldapi.Renderer.render_alternates_view()
. If this gets accepted, then we will also need to addpyldapi.Renderer._render_alternates_view()
back in to not break existing projects.The reason for the change is, "I will be looking into refactoring parts of the pyLDAPI – more specifically the current requirement of using pyldapi.Renderer._render_alternates_view() for custom Renderer classes. If it’s required to be called manually, it should ideally drop the prefix underscore. Otherwise see if it’s possible to refactor it to the behaviour of the RegisterRenderer class where it’s handled automatically by the tool (I think unlikely after having some time thinking about it)."