Switch to docute documentation site generator#1976
Switch to docute documentation site generator#1976sebinbenjamin wants to merge 5 commits intolovell:masterfrom
Conversation
|
Note: Links are currently pointed to my forked branch https://github.com/sebinbenjamin/sharp/edit/master/docs as I needed a new tag v0.23.4-alpha for testing. Needs to be changed before closing the PR. Also do share the GA Tracking ID. |
|
This is amazing, thank you. For the previous versions, readthedocs will be going away, so ideally these will come from GitHub too. The markdown files in docs/ are all tagged by version so I was hoping we could use something like https://docute.org/guide/customization#versioning for this. The GA code is UA-13034748-12 (this is the user_analytics_code from https://sharp.pixelplumbing.com/en/stable/readthedocs-data.js) Sadly documentationjs does not produce page titles for markdown output but we could define a custom plugin to replace the |
docs/image/sharp-logo.svg
Outdated
| <path fill="none" stroke="#9c0" stroke-width="80" d="M258.411 285.777l200.176-26.8M244.113 466.413L451.44 438.66M451.441 438.66V238.484M451.441 88.363v171.572l178.725-23.917M270.323 255.602V477.22M272.71 634.17V462.591L93.984 486.515"/> | ||
| <path fill="none" stroke="#090" stroke-width="80" d="M451.441 610.246V438.66l178.725-23.91M269.688 112.59v171.58L90.964 308.093"/> | ||
| </svg> No newline at end of file | ||
| <svg xmlns="http://www.w3.org/2000/svg" viewBox="86 86 50 49.636" width="50" height="49.636" fill="none" stroke-width="7.275"><path d="M101.7 103.953l18.204-2.437M100.4 120.38l18.854-2.524m0 0V99.652m0-13.652v15.603l16.253-2.175m-32.724 1.78v20.154m.217 14.273v-15.603l-16.253 2.176" stroke="#9c0"/><path d="M119.264 133.46v-15.604l16.253-2.174m-32.782-27.478v15.603l-16.253 2.176" stroke="#090"/></svg> No newline at end of file |
There was a problem hiding this comment.
Please can the copyright and licensing notice remain in this file.
There was a problem hiding this comment.
Oh ! Missed it. Sorry about that.
I tried versioning but got stuck with the file name requirement. I think that docute by default wants the landing page markdown file to be named as
Thanks. I'll just put the this in.
Nice. Let me check it. |
|
I've merged this to the Rather than provide docs for loads of older versions, I've added These new docs, for the forthcoming v0.24.0 release, can be temporarily viewed at https://pixelplumbing-sharp.firebaseapp.com/ for now. I've configured Firebase to handle all the redirects - see https://github.com/lovell/sharp/blob/wit/docs/firebase.json#L22 I'll update the main documentation URL to point to this after sharp v0.24.0 is released. Thanks again for all your help with this @sebinbenjamin - I think this PR makes you the 100th contributor to sharp! |
Sets up docute to replace readthedocs. Fixes #1974
@lovell I've tried to include everything from https://sharp.pixelplumbing.com . Please have a look.
Tasks
I think the following might also be good. I could create a seperate issue/PR if they will be useful.
Additional
install.mdandperformance.md