⚠️ This PR is not intended to be merged directly, but to demonstrate documentation from our fork ⚠️
Issue
Current documentation in Metaseq repo is very minimal.
Given the complexity of pipeline and various entry points it can be difficult for newcomers to get started
Documentation features are limited by Github's rendering of Markdown files viewed within the repository
Documentation isn't centrally located
It is nice to co-locate doc files near the content they are documenting by placing it near in file system, but this can make it hard to understand the bigger picture which connects all information
We also had the intention of publishing results to 3rd parties and wanted the pages to look more professional than viewing a file of repository.
Centrally locates documentation (Although can still link to markdown files in repo if desired)
Can generate documentation from code (and docstrings)
Can render Mermaid diagrams (Although I think Github can do that too now)
Testing steps
There were some errors during docs generation since we don't have correct dependencies and can't properly embed/generate docs from metaseq.cli.validate but the concept should work for a real Metaseq environment
⚠️ This PR is not intended to be merged directly, but to demonstrate documentation from our fork ⚠️
Issue
Current documentation in Metaseq repo is very minimal.
We also had the intention of publishing results to 3rd parties and wanted the pages to look more professional than viewing a file of repository.
Solution
Testing steps
There were some errors during docs generation since we don't have correct dependencies and can't properly embed/generate docs from
metaseq.cli.validate
but the concept should work for a real Metaseq environmentVisuals
Screenshot of Demo Docs
Video
https://github.com/facebookresearch/metaseq/assets/2856501/f3375b7e-3bd5-48e8-a7f2-d7c27b80be8e
Development on Documentation
Terminal A:
(Open URL and view index.html)
Terminal B:
Regenerates documentation after file changes
Related to #726
Mentioning @tupini07 for awareness and possible assistance to answer questions