mirror of
https://github.com/ROCm/ROCm.git
synced 2026-01-08 22:28:06 -05:00
Add 404 page (#1933)
* Add 404 page Only build htmlzip format for docs * Add homepage link to 404 page
This commit is contained in:
11
.gitignore
vendored
11
.gitignore
vendored
@@ -1,4 +1,11 @@
|
||||
_build
|
||||
.venv
|
||||
.vscode
|
||||
build
|
||||
build
|
||||
|
||||
# documentation artifacts
|
||||
_build/
|
||||
_images/
|
||||
_static/
|
||||
_templates/
|
||||
_toc.yml
|
||||
docBin/
|
||||
|
||||
@@ -6,7 +6,7 @@ version: 2
|
||||
sphinx:
|
||||
configuration: docs/conf.py
|
||||
|
||||
formats: all
|
||||
formats: [htmlzip]
|
||||
|
||||
python:
|
||||
version: "3.8"
|
||||
|
||||
5
docs/404.md
Normal file
5
docs/404.md
Normal file
@@ -0,0 +1,5 @@
|
||||
# 404 Page Not Found
|
||||
|
||||
Page could not be found.
|
||||
|
||||
Return to [home](index) or please use the links from the sidebar to find what you are looking for.
|
||||
@@ -4,10 +4,6 @@
|
||||
# list see the documentation:
|
||||
# https://www.sphinx-doc.org/en/master/usage/configuration.html
|
||||
|
||||
import shutil
|
||||
shutil.copy2('../CHANGELOG.md','./')
|
||||
shutil.copy2('../RELEASE.md','./')
|
||||
|
||||
from rocm_docs import ROCmDocs
|
||||
|
||||
docs_core = ROCmDocs("ROCm Documentation")
|
||||
|
||||
Reference in New Issue
Block a user