Easy to maintain open source documentation websites.
Find a file
Anshul Goyal a78f703366
feat(v2): v1-v2 migration cli automate migration from v1 to v2 (#3015)
* add poc for migration tool

* fix version

* fix path

* fix some type error

* fix type errors

* fix commad

* delete package.lock.json

* ignore lib folder in eslint

* ignore lib in prettier

* fix missing version

* fix sidebar in next

* use primaey color

* fix navbar link

* fix footer

* sanatize front-matter for gray-matter

* add e2e test

* fixworkflow

* add unit test

* chore(v2): fix eslint error

* refactor(v2): use descriptive variable names

* refactor(v2): refactor createProjectStructure

* refactor(v2): refactor migrateDocusaurusProject

* refactor(v2): fix eslint errors

* fix(v2): fix mistake

* use path.join

* remove console.log

* try automate migrating md file to mdx

* fix types not found

* fix types

* remove unused fixture

* use package.json for version

* add support for pages

* add support

* sanitize fortmatter only in case of special character

* chore(v2): add color to dependencies

* feat(v2): initialize config with range of color and add logs

* chore(v2): add glob dependency

* fix(v2): fix color generation

* fix(v2): fix type issue

* feat(v2): add all unknown fields to customFields

* fix(v2): fix css mistake

* fix lerna

* fix(v2): fix github actions

* feat(v2): add option flag for migrating pages

* fix special character

* remove depulicate build

* fix test

* remove unwanted file

* fix frontmatter

* remove unused file

* rerun the test

* fix links

* feat(v2): filter out more fields from customFields

* feat(v2): filter out deprecated fields from customFields

* fix items

* fix types

* merge master

* revert docs

* fix doc

* fix broken link

* fix test

* test

* fix ci

* fix ci

* fix ci

* fix ci

* fix frontmatter

* log custom fields

Co-authored-by: teikjun <teikjunhci@gmail.com>
2020-07-24 12:52:16 +02:00
.circleci chore: drop support for node <10.9 (#2207) 2020-01-12 13:24:11 +08:00
.github feat(v2): v1-v2 migration cli automate migration from v1 to v2 (#3015) 2020-07-24 12:52:16 +02:00
.runme misc: add v2 runme demo to README (#2811) 2020-05-30 13:36:42 +08:00
admin chore(v2): Add E2E test for yarn v2 (#3008) 2020-07-01 12:06:03 +02:00
docs feat(v2): v1-v2 migration cli automate migration from v1 to v2 (#3015) 2020-07-24 12:52:16 +02:00
jest chore(v2): fix code style (revert previous changes) 2020-04-05 17:38:12 +03:00
packages feat(v2): v1-v2 migration cli automate migration from v1 to v2 (#3015) 2020-07-24 12:52:16 +02:00
website feat(v2): v1-v2 migration cli automate migration from v1 to v2 (#3015) 2020-07-24 12:52:16 +02:00
website-1.x feat(v2): v1-v2 migration cli automate migration from v1 to v2 (#3015) 2020-07-24 12:52:16 +02:00
.editorconfig Standardize editor configs for cross-platform development (#628) 2018-05-03 10:23:21 -07:00
.eslintignore feat(v2): v1-v2 migration cli automate migration from v1 to v2 (#3015) 2020-07-24 12:52:16 +02:00
.eslintrc.js refactor(v2): async md image transformer + pathname protocol as an escape hatch (#3087) 2020-07-21 17:45:06 +02:00
.gitattributes Add .webp to .gitattributes for ignoring 2018-05-03 13:13:03 -07:00
.gitignore feat(v2): v1-v2 migration cli automate migration from v1 to v2 (#3015) 2020-07-24 12:52:16 +02:00
.gitpod.yml feat: add Gitpod config for Docusaurus 2 (#2201) 2020-01-12 12:33:21 +08:00
.nvmrc chore: drop support for node <10.9 (#2207) 2020-01-12 13:24:11 +08:00
.prettierignore feat(v2): v1-v2 migration cli automate migration from v1 to v2 (#3015) 2020-07-24 12:52:16 +02:00
.prettierrc chore(v2): update Prettier config (#2542) 2020-04-05 23:51:47 +08:00
.stylelintrc.js fix(v2): improve stylelint copyright header rule (#2363) 2020-03-07 11:49:52 +08:00
.watchmanconfig misc(v2): make watchman config valid 2020-03-24 12:17:00 +08:00
babel.config.js chore: yearless copyright headers for source code (#2320) 2020-02-25 23:12:28 +08:00
CHANGELOG-2.x.md chore(v2): rename 2.0.0-alpha.57 to 2.0.0-alpha.58 2020-06-18 14:00:16 +02:00
CHANGELOG.md chore: prepare for v1.14.4 release (#2211) 2020-01-13 00:11:23 +08:00
CODE_OF_CONDUCT.md Update CODE_OF_CONDUCT.md 2018-07-31 19:49:46 -07:00
CONTRIBUTING.md docs: Updated link for #docusaurus-2-dev discord (#3078) 2020-07-20 11:59:15 +02:00
crowdin.yaml chore: download only enabled languages translation files 2019-07-26 23:07:04 +07:00
jest.config.js feat(v2): v1-v2 migration cli automate migration from v1 to v2 (#3015) 2020-07-24 12:52:16 +02:00
lerna.json v2.0.0-alpha.58 2020-06-18 14:02:26 +02:00
LICENSE chore: yearless copyright headers for source code (#2320) 2020-02-25 23:12:28 +08:00
LICENSE-docs Docusaurus documentation license (#118) 2017-10-06 12:59:01 -07:00
package.json fix(v2): netlify.toml shouldn't affect v1 site deployment config (#3099) 2020-07-23 11:51:28 +02:00
README.md chore: prettier 2020-06-01 14:41:28 +03:00
tsconfig.json feat(v2): Support swizzling TypeScript components (#2671) 2020-06-25 16:07:30 +02:00
yarn.lock feat(v2): v1-v2 migration cli automate migration from v1 to v2 (#3015) 2020-07-24 12:52:16 +02:00

Docusaurus

Docusaurus

npm version CircleCI status PRs Welcome Chat code style: prettier Tested with Jest Gitpod Ready-to-Code Netlify Status

We are working hard on Docusaurus v2. If you are new to Docusaurus, try using the new version instead of v1. See the Docusaurus v2 website for more details.

You can see the clean live demo with classic theme by clicking this badge Runme.

Introduction

Docusaurus is a project for easily building, deploying, and maintaining open source project websites.

  • Simple to Start Docusaurus is built to be easy to get up and running in as little time possible. We've built Docusaurus to handle the website build process so you can focus on your project.
  • Localizable Docusaurus ships with localization support via CrowdIn. Empower and grow your international community by translating your documentation.
  • Customizable While Docusaurus ships with the key pages and sections you need to get started, including a home page, a docs section, a blog, and additional support pages, it is also customizable as well to ensure you have a site that is uniquely yours.

Installation

Docusaurus is available as the docusaurus package on npm.

We have also released the docusaurus-init package to make getting started with Docusaurus even easier.

Contributing

We've released Docusaurus because it helps us better scale and supports the many OSS projects at Facebook. We hope that other organizations can benefit from the project. We are thankful for any contributions from the community.

Code of Conduct

Facebook has adopted a Code of Conduct that we expect project participants to adhere to. Please read the full text so that you can understand what actions will and will not be tolerated.

Contributing guide

Read our contributing guide to learn about our development process, how to propose bugfixes and improvements, and how to build and test your changes to Docusaurus.

Beginner-friendly bugs

To help you get your feet wet and get you familiar with our contribution process, we have a list of beginner friendly bugs that might contain smaller issues to tackle first. This is a great place to get started.

Contact

We have a few channels for contact:

  • Discord with two text channels:
    • #docusaurus-users for those using Docusaurus.
    • #docusaurus-dev for those wanting to contribute to the Docusaurus core.
  • @docusaurus on Twitter
  • GitHub Issues

Contributors

This project exists thanks to all the people who contribute. [Contribute].

Backers

Thank you to all our backers! 🙏 [Become a backer]

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]

License

Docusaurus is MIT licensed.

The Docusaurus documentation (e.g., .md files in the /docs folder) is Creative Commons licensed.

Special thanks

BrowserStack logo

BrowserStack supports us with free access for open source.

Rocket Validator logo

Rocket Validator helps us find HTML markup or accessibility issues.