Repository navigation
[WIP] Docusaurus Docs - #6456
SchrodingersGat wants to merge 9 commits into
Conversation
✅ Deploy Preview for inventree-web-pui-preview canceled.
|
|
This is an improvement in search of a problem IMO. Using a fast-moving thing like a React for docs will leave us with a lot more maintenance work to just keep it going. I have a lot of problems with that framework but here are a few important ones:
We can achive all tech stacks goals with the current doc stack. It is not a lack of tools but time that has prevented it form beeing done and I do not see how this change would improve that, I just see added maintenance burden. |
|
@matmair you make some good points here. Now that I have a basic framework in place here, and starting to look into what it would take to transfer these docs across, it is a bit daunting! The PR to change the website was partly an effort to have the docs and the website: a) Have a similar look and feel Looking into this a bit further, perhaps a smarter approach to achieve these goals would be to use Visually they have come a long way - their website now looks really good. There are also some options for: Plus, having versioned docs on readthedocs is a great feature, we don't have to track multiple versions ourselves. This PR was intended as a gauge of interest from yourself and @wolflu05 - clear that there is none from you ;) I suggest that we:
While I really do like the look of docusaurus, it is probably not worth the effort - especially without buy-in from you |
|
I think the new website has the potential to look nice but the stack doe not make sense. Rant about current/propsed stackThe beauty of the current doc (and to some limited degree website) stack is that it closely follows long-held standards in the python/static website generator standards like GFM, easily portable content and separation between logic, theming and content. That keeps it more or less evergreen. Most of the features in Docusaurus seem to be geared towards fast-moving frontend devs/designers that want to have something "professional" looking up and running in a few hours. You get pretty results in a few minutes but once you look into technical details everything is a naive 80% solution. Further development suggestionsI agree with 1,2,5 but would like to discuss 3 and 4. |
|
I would actually had supported this idea, but if @matmair is not happy if maybe that's not the right direction and and closing this PR is the best option. But IMO we need to improve the look and feel of the website and the docs (to also align with the new PUI refactor), if we want to gain more users (what @matmair calls, do better marketing). Modern users like modern websites more than old school style sites. |
|
Design and tech stack are different things - trying to solve one with the other is a fools errant. @wolflu05 The website was created in Feb 2022 with a focus on being accessible, working on every device and not needing unnecessary tech. There has been very little feedback on its design so it stayed like it was proposed in the demo. If the website is keeping a user from using InvenTree they won't like the software in it's current state either. |
|
Closing this out - targeting API docs in #6463 |
This PR represents a work in progress to update the documentation to a modern platform - specifically docusaurus.io
Major Goals
Tech Stack Goals
With docusaurus we can more easily achieve the following running goals:
TODO List
.mdto.mdx(only where required for extra features)