Zaida Zhou a06bb7782b
[Docs] Add readthedocs.yml (#501)
* [Docs] Add readthedocs.yml

* include torch in readthedocs.yml

* add torch torchvision in docs.txt
2022-08-31 23:34:25 +08:00
..
2022-08-31 23:34:25 +08:00
2022-08-31 23:34:25 +08:00

Build Documentation

  1. Clone MMEngine

    git clone https://github.com/open-mmlab/mmengine.git
    cd mmegnine
    
  2. Install the building dependencies of documentation

    pip install -r requirements/docs.txt
    
  3. Change directory to docs/en or docs/zh_cn

    cd docs/en  # or docs/zh_cn
    
  4. Build documentation

    make html
    
  5. Open _build/html/index.html with browser