Skip to content

Docs/docusaurus setup - #272

Open
yash-khaitan wants to merge 8 commits into
mainfrom
docs/docusaurus-setup
Open

yash-khaitan wants to merge 8 commits into
mainfrom
docs/docusaurus-setup

Conversation

@yash-khaitan

@yash-khaitan yash-khaitan commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

SUMMARY

What this pr is for?

  • This PR introduce Docusaurus into our application.
  • Docusaurus creates a nice-looking react static page for all the documentation in our project.
  • We will also publish it to Github pages for easy access.

Issue Link

Link the Issue for which this PR was raised
#268

Changes Summary

What changes has been done to solve the issue

  • Added Docusaurus.
  • Added workflow for deployment to Github Pages.

Testing Done

How has the solution been tested?

  • Generated Site ran fine in local with all the documents accessible from the site
Screen.Recording.2026-11-19.at.4.57.39.PM.mov

Pull Request Checklist

Tasks Yes/No
Issue Linked?
Timeline of the Issue is updated?
Do these changes affect local development in anyway? (if yes mention effects in additional comments)

Additional Comments

Anything else regarding this PR

@SuvabrataChowdhury SuvabrataChowdhury left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Feels like some redundant images re coming part of this change. please remove if not necessary.

Where are we mentioning the path for the .md docs? Can you please attach some screenshots?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

and here.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This is our logo

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

why is this empty file required?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

We keep this file because Docusaurus generates folders starting with _ in its build output, and without it GitHub Pages would run Jekyll and silently skip those folders. This would break the site.

@yash-khaitan

Copy link
Copy Markdown
Contributor Author

Where are we mentioning the path for the .md docs? Can you please attach some screenshots?

We specify the path for the '.md' docs here - AutoBuild/autobuild-docs-site/docusaurus.config.ts [line 43]
image

The recording of the generated site is added to this PR's description

@SuvabrataChowdhury SuvabrataChowdhury left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Mostly looks good. Please do not hard-code the page urls with the host as in future we might change it later.

- "autobuild-docs/**"
- "autobuild-docs-site/**"
- ".github/workflows/deploy.docs.yaml"
pull_request:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Make sure to remove this pull_request trigger before merging.

),
},
{
title: 'VCS Integration',

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

😅 we are not providing it yet.. please remove/ comment out for now.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Please add TODO comments on the svgs as those are not supposed to be defined in code like this. Defining svgs manually like this makes it very difficult to reuse across apps. We need to import svgs generated from somewhere else and keep it in the repo.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

is it possible to make the urls configurable? like we may deploy it in other static site hosts later so hardcoding the urls like this will make it difficult in future.

"@types/react": "^19.0.0",
"typescript": "~6.0.2"
},
"browserslist": {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

what is this section for?

This branch was successfully deployed

1 active deployment
github-pages — f32e40b9 Deployed Nov 20, 2026 by yash-khaitan via deploy #3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[chore]: Docusaurus Build Workflow

2 participants