Comments (10)
This is getting there (slowly). I'll be out of town this weekend, but expect to finish reviewing and adding to everything next week at which time we can look into publishing to Read The Docs. After this is done, I'd love to look into the new test suite and get that running cleaning on TravisCI. @Hellowlol, you did an amazing first pass on this, thanks so much!
A few guidelines I was following to make it a bit easier.
- No need to document dunder functions (__init__, __repr__, etc).
- No need to over-document private methods (_functions).
Completed: Audio, Client, Config, Exceptions, Library, MyPlex, Utils
Remaining: Media, Photo, Playlist, Playqueue, Server, Sync, Video
BTW: You can see documentation now if you install sphinx, goto the docs folder and run "make html".
pip3 install sphinx, sphinx-autobuild, sphinx-rtd-theme, sphinxcontrib-napoleon
cd <python-plexapi>/docs
make html
from python-plexapi.
Closing this one. There is still some work to do for docs, but we're well on our way and its part of the build system now!
http://python-plexapi.readthedocs.io/en/latest/?badge=latest
from python-plexapi.
Unfortunately, not yet. I never had the time to put into better docs. :(
from python-plexapi.
No worries, that's understandable as it would require a significant portion of time to do so.
Thanks for the response
from python-plexapi.
A lot of work was already put in by @Hellowlol for this. I also started another branch to take that work and format it for Sphinx documentation after which we'll get this up on ReadTheDocs. I suspect this will take a few weeks to fully clean things up.
from python-plexapi.
Can't we use the extension Napoleon with spinx? I choose google docs style since that is the most human readable.
from python-plexapi.
Of course, I was hoping you would chime in. I never used Spinx before, don't know much about it or the best approach.
from python-plexapi.
Afraid i dont know anything about it. Never used it but im sure we can figure it out.
from python-plexapi.
We should use Napoleon to parse the google docstyle to rst to it passes this to sphinx before building docs. I choose google docs style because imo its the most readable docstring type. Changing this to rst manually would make the docs harder to read and would be a huge task.
extensions = ['sphinx.ext.autodoc', 'sphinxcontrib.napoleon']
See http://sphinxcontrib-napoleon.readthedocs.io/en/latest/
from python-plexapi.
Awesome stuff. How are you solving this?. Are you editing adding the classes manually.? Or using some kind of tool? . I don't know why i didn't add proper classes in the first go. Anyway thank you so much.
from python-plexapi.
Related Issues (20)
- Unable to connect to a Plex HTPC client HOT 3
- Add Type Hints to Improve Codebase Readability and Maintainability HOT 1
- Show and Season from the video module use wrong key to get subtitleLanguage attribute
- Add support for track genres in music libraries HOT 1
- feat: python class for available filters HOT 3
- Add support for Plex Profile Watch History and Ratings
- Library section lookup clobbered when multiple libraries have the same title
- editAlbum Missing ... HOT 1
- Unable to find Libraries after using PlexApi based python script. HOT 5
- locations is empty when casting to dict HOT 2
- Add 'merge' method for music albums
- Ability to Modify MovieHistory & EpisodeHistory details HOT 1
- Bad Request response when adding library with default language
- Issues creating `PlexClient` instances from `PlexServer` sessions in 4.15.8 HOT 1
- feat: Endpoint for computing sonic adventure
- Add View History Manually HOT 2
- Streams in MediaParts empty (reload() has no effect)
- `totalSize` of MediaContainer
- createPlaylist does not guard smart=True and non-empty items HOT 2
- "Invalid library sectionID: None" after PlexPartialObject.reload() HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-plexapi.