Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 2.16 KB

README.md

File metadata and controls

46 lines (33 loc) · 2.16 KB

conda-dot-org

This is the repository for the conda.org community website. To become involved:

Code of Conduct

This repo and the web site it generates are governed by the conda organization code of conduct.

Implementation details

It is built using Docusaurus 2, a modern static website generator. The contents are structured like this:

  • .github/: Workflows for deployment.
  • blog/: Blog posts. Can use .md (Markdown), .mdx (Markdown with react) or .js extensions. Complex posts can use its own directory.
  • docs/: Documentation with navigation and sidebars.
  • src/: Resources (React components, custom CSS) and logic for standalone pages
    • src/pages: Standalone pages. This directory contains the homepage (index.js) and other simpler pages (community.md).
  • static/: Static resources like images and icons.
  • babel.config.js: Configuration to install docusaurus.
  • docusaurus.config.js: Configuration for docusaurus. Includes variables like title and description, navigation menu items, etc.
  • package.json: More configuration to install docusaurus.
  • sidebars.js: Support for sidebars. We use in automatic mode now.

Non listed directories or files are generated automatically are not relevant for modifications.

Local Development

$ git clone
$ cd conda-dot-org
$ npm install
$ npm run start

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

Deployment

Deploys by Netlify