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

Documentation in Sphinx #8

Merged
merged 11 commits into from
Nov 15, 2018
Merged

Documentation in Sphinx #8

merged 11 commits into from
Nov 15, 2018

Conversation

edmondchuc
Copy link
Collaborator

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 to pyldapi.Renderer.render_alternates_view(). If this gets accepted, then we will also need to add pyldapi.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)."

@edmondchuc edmondchuc self-assigned this Nov 15, 2018
@edmondchuc edmondchuc merged commit 3f81c9b into RDFLib:docs Nov 15, 2018
@ashleysommer
Copy link
Collaborator

@edmondchuc Should some or all of these changes be merged into master?
I know the render_alternates_view() should, but I'm guessing all of the in-code docs should be merged into master too?

@edmondchuc
Copy link
Collaborator Author

@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 render_alternates_view() back to _render_alternates_view() since we probably need to keep it compatible with existing projects.

I also drafted a possible solution to the Renderer class here: #9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants