This site is the temporary home for the documentation that will be generated as part of the work being done for the CZI EOSS 5 grant for conda-forge. More details in the project management repository.
We are writing things in a way that would allow us to upstream parts of the site to conda-forge.org itself, if the need arises at any point.
This website is built using Docusaurus 2, a modern static website generator.
Docusaurus has different plugins for different kinds of content; namely blog posts, documentation and single pages.
Docusaurus parses its pages as MDX files (Markdown+JSX). It's up to you to decide how much JSX you use:
- No JSX: it will be plain Markdown. Usually denoted with
.mdextensions. - Mostly Markdown, but with some JSX blocks. Usually denoted with
.mdxextensions. - Only JSX. Use
.jsextensions.
The content is categorized in several directories, which use different plugins:
blog/(uses@docusaurus/plugin-content-blog): The conda-forge blog.community/(uses@docusaurus/plugin-content-docs): Documentation about the community aspects.docs/(uses@docusaurus/plugin-content-docs): Technical documentation for users, maintainers and organizing teams.news/(uses@docusaurus/plugin-content-blog): Quick announcements with a RSS feedsrc/pages/(uses@docusaurus/plugin-content-pages): One-off, standalone pages. Currently:src/pages/index.js: Renders the home page. It's a JSX script that returns some React code. It relies on some custom components undersrc/components.
- For the top navigation bar, see
themeConfig.navBarindocusaurus.config.js. - For the footer links, see
themeConfig.footerindocusaurus.config.js. - The sidebars for
/docsand/communityare auto-generated bysidebarsDocs.jsandsidebarsCommunity.js, respectively.
It uses the default theme, with custom CSS added in src/css/custom.css.
Some components and pages might have their own CSS modules (*.module.css).
The Docusaurus configuration is stored in docusaurus.config.js.
Read its docs.
With nodejs 16 or above:
npm run startThis command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
npm run buildThis command generates static content into the build directory and can be served using any static contents hosting service.
Happens automatically through Netlify.