-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
Roadmap / Vision [status] #16
Comments
As discussed in #12 (comment) it might be a nice idea to provide template partials (like in MkDocs themes) to make the output configurable to users. |
FIY I just released a plugin to generate RSS plugin using git log too: https://github.com/Guts/mkdocs-rss-plugin. I used (sometimes roughly copied/pasted) code from your plugins, as mentioned in the credits. By the way, I am convinced by your approach described above to have a common base for everything that uses git logic. This could be done by using the possibility of having several entry points in the same codebase: https://www.mkdocs.org/user-guide/plugins/#entry-point. In this way, the options should not be too many, but keep them separated. |
Cool plugin! Don't forget to list in the list of all mkdocs plugins Thanks for pointing out the possibility of multiple entry points, indeed can help in the design |
Actually that's what I had in mind already (but I'm not sure if I have mentioned it at any point). A repository can have all the common code in modules/packages, and the different user-facing plugin interfaces in independent files. All this could be deployed as something like |
So, we're in agreement ^^. On the other hand, , I think it's better to create a new repository than to use this one. This way, we start over on a fresh codebase and it'll be clearer for end-users of the existing plugins. I suggest that @timvink be the new repository's owner, adding us as contributors. Same for the PyPi project.
Thanks for the tip, I will. |
Small update, > two years later. Both But there are more advanced users that would like to have more information from git. Things like tags, numbers of lines, summaries from the entire site (rather than on a page level), etc. @uliska was right back in 2020:
So the roadmap should be to build a separate We would add the git info as a I'm not planning on spending time on this currently, but maybe in the future. So the honor is up for grabs in case anyone wants to have a go at it (and keep maintaining it of course).
|
Below a short version of the roadmap I currently envision for this plugin. This issue will also track progress
Integrate with git-revision-date
mkdocs-git-revision-date-localized-plugin does something very similar to this one, retrieving information from git. There is quite some overlap. Note that development on either plugin is still very valuable and would be re-used.
If we keep the amount of
options
as low as possible, future integration should be fairly straightforward. Hence the focus on simplicity.To integrate, high level user api:
dict
with information on both dates and authors of a page called{{ git_info }}
mkdocs-git-revision-date-localized-plugin
andmkdocs-git-authors-plugin
The plugin could be called something like
git-info
and contain all info.Add native support for mkdocs-material
You can already extend
mkdocs-material
with this plugin (described in README).To add native support (see squidfunk/mkdocs-material#1403) we first need to complete clean solutions for:
Before proposing native support, it's best to integrate both plugins. That would make it easy for themes to create things like:
The text was updated successfully, but these errors were encountered: