Skip to content
This repository has been archived by the owner on Jan 26, 2021. It is now read-only.

Port docs from Wiki to Docusaurus #657

Merged
merged 8 commits into from
Aug 25, 2020
Merged

Port docs from Wiki to Docusaurus #657

merged 8 commits into from
Aug 25, 2020

Conversation

SanketDG
Copy link
Contributor

@SanketDG SanketDG commented Aug 20, 2020

Description

Right now, the whole Portal docs is in rhe repository wiki.

We are moving to Docusaurus (https://v2.docusarus.io)

Preview: anitab-portal.surge.sh

TODO:

  • Add a basic minimal scaffold in docs/ (use Tinysaurus)
  • Remove the old files from docs/
  • Remove any dependencies for the old docs. (sphinx for example)
  • Convert all the markdown files from wiki and put it in docs (Thanks to @sakshi1499 for doing the heavy lifting 🎉)
  • Categorize the Documentation in the right places
  • Add any extra Documentation (can be done post-merge)
  • Update the Footer
  • Deploy Strategy
    • Netlify?
    • Vercel?

Closes #648

We are mostly looking for comments on what goes in and what goes out of the whole porting. We won't add any documentation right now, (this may be done through future contributors)

We have also decided to not keep anything that is ephemeral, so nothing specific to GSoC or any other program

@SanketDG SanketDG added Type: Enhancement New feature or request. Category: Documentation/Training Improvements or additions to documentation. Status: Needs Review PR needs an additional review or a maintainer's review. labels Aug 20, 2020
@isabelcosta
Copy link
Member

I've quickly checked the preview, and this is amazing :D 👏 👏 👏

Copy link
Contributor

@sammy1997 sammy1997 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

Copy link
Contributor

@satya7289 satya7289 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great..!!.
For the deployment purpose we can use GitHub pages, no need to maintain extra server..

I really excited to know why are you choosing Docusaurus, however there are many alternatives available like mkdocs(provides many themes) where no need to convert .md files to docs , can also be deployed like GitHub pages, etc..!!!

@SanketDG
Copy link
Contributor Author

For the deployment purpose we can use GitHub pages, no need to maintain extra server..

We were thinking of going with Netlify or Vercel which are just better GH Pages 😄

however there are many alternatives available like mkdocs(provides many themes) where no need to convert .md files to docs , can also be deployed like GitHub pages, etc..!!!

where no need to convert .md files to docs

We converted the Wiki's to .md, I am not sure what you mean here.

Any SSG for that matter does the same, just outputs a bunch of html/css/js files, I think we went with Docusaurus, because of UI and accessiblility.

@sammy1997
Copy link
Contributor

@sakshi1499 @mayburgos Can you add your reviews so that we can merge this?

@mayburgos
Copy link

@sakshi1499 @mayburgos Can you add your reviews so that we can merge this?

Please move forward without my review, thank you!

@sakshi1499
Copy link

@sammy1997 I didn't want to approve our own PR. Can you please go ahead and merge this?

@sammy1997 sammy1997 merged commit 0aa1f2f into develop Aug 25, 2020
@sammy1997 sammy1997 removed the request for review from mayburgos August 25, 2020 18:48
@sammy1997 sammy1997 removed the request for review from sakshi1499 August 25, 2020 18:48
@annabauza
Copy link
Contributor

@SanketDG can you please tell me if I can host it on github static pages? If yes what do I need to do to prepare static page?

@SanketDG
Copy link
Contributor Author

@annabauza

can you please tell me if I can host it on github static pages? If yes what do I need to do to prepare static page?

$ yarn build

should put the static files in build/ folder, which can just be uploaded to github pages.

The rest of the instructions are in the README.

@SanketDG SanketDG deleted the docusarus branch January 20, 2021 17:10
@annabauza
Copy link
Contributor

I figured it out thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Category: Documentation/Training Improvements or additions to documentation. Status: Needs Review PR needs an additional review or a maintainer's review. Type: Enhancement New feature or request.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move docs from wiki to Docusaurus
8 participants