iotaledger / iota-wiki

IOTA Wiki
https://wiki.iota.org
Other
112 stars 273 forks source link

Cleanup root #1544

Open Dr-Electron opened 2 months ago

Dr-Electron commented 2 months ago

Is your feature request related to a problem? Please describe.

With the upcoming changes we should cleanup the wikis root so that it is easier for us and others to make needed changes

Describe the solution you'd like

### Tasks
- [x] Move `plugins` into `src` folder
- [x] Get rid of `theme` and move components to `src` folder
- [ ] Get rid of `tutorials`, move content to docs and configure tutorial cards in a separate config file
- [ ] Rename `common` folder to `config` and move all relevant configs there
Dr-Electron commented 2 months ago

If needed we should create sub folders for things like argo and so on. Also the svgo config can probably removed. (@jlvandenhout said, that docusaurus might use similar parameters as they use svgo internally too)

jlvandenhout commented 2 months ago

As most part of the logic in theme and plugins is in Typescript, and Docusaurus v3 supports Typescript natively, I'm going to base these changes on the upgrade-to-v3 branch. I will push a small change there first, making the Docusaurus config file a Typescript file.

jlvandenhout commented 1 month ago

I converted the related PRs to draft, because we decided to target the main branch for now instead of the v3 upgrade. I'll rebase the PRs on main and resolve any remaining issues.