You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
featureThis is not a bug or issue with Docusausus, per se. It is a feature request for the future.mlhMajor League Hacking Fellowshipstatus: claimedIssue has been claimed by a contributor who plans to work on it.
We want to give a good impression to users when they first try Docusaurus, and improve:
our init templates (generated with the CLI)
the new.docusaurus.io CodeSandbox experience (sync with the classic template).
It was proposed (#3489) that we make the initial docs more representative of a real-world doc site and be a bit more opinionated:
be more like a small example site rather than a hello-world empty site
apply documentation best practices (docs vs apis)
show real content instead of lorem ipsum
use more markdown features to showcase the features of Docusaurus (maybe this can even be kept in sync with the markdown features category of Docusaurus site itself)
We also have some content duplication in templates, as each template MD docs are very similar and copy/paste. We should find a way to create once this content for all sites instead of keeping them in sync manually.
For users that really want an empty/minimal Docusaurus site, we could add a new separate minimalistic template.
The idea for me would to be create a minimalistic documentation site for Docusaurus site itself, so that it kind of serve as a realistic example.
We want to spark immediate joy to the user and let him try Docusauurs in a step by step guide where each action provides immediate gratification by seeing the result of the action.
I don't think the user needs to understand everything about Docusaurus at the end of this tutorial, but be convinced that this is a powerful tool and quite simple to use.
What about using the following docs/sidebar?
module.exports={docs: {"Docusaurus Tutorial": ["Docusaurus Intro",// Basic infos + install steps"Create a doc",// + how to add it to the sidebar"Create a page",// jsx + md"Create a post","Markdown Features",// basic markdown + some MDX explanations"Thank you"// end of tutorial, show what's next?],Extras: ["Deploy your site",// configure a bit + build + deploy to GH pages?"Translate your site",// very basic version, like add "fr" language + put a copy `docs/intro.md` to `i18n/fr/plugin-docs/intro.md` + run `yarn start --locale fr`"Manage versions"// just run the versioning cli + restart the site with yarn start]}};
I suggest the initial PR (#4302) focus first on the "Docusaurus tutorial" category. Once it's merged we can add the Extras category later?
featureThis is not a bug or issue with Docusausus, per se. It is a feature request for the future.mlhMajor League Hacking Fellowshipstatus: claimedIssue has been claimed by a contributor who plans to work on it.
Activity
slorber commentedon Feb 26, 2021
The idea for me would to be create a minimalistic documentation site for Docusaurus site itself, so that it kind of serve as a realistic example.
We want to spark immediate joy to the user and let him try Docusauurs in a step by step guide where each action provides immediate gratification by seeing the result of the action.
I don't think the user needs to understand everything about Docusaurus at the end of this tutorial, but be convinced that this is a powerful tool and quite simple to use.
What about using the following docs/sidebar?
I suggest the initial PR (#4302) focus first on the "Docusaurus tutorial" category. Once it's merged we can add the Extras category later?
Do you think this is a good structure?