From 95ef573fc47c87ff2a7e4bf7106583104002719a Mon Sep 17 00:00:00 2001 From: Yuwen Hu <54161268+Oscilloscope98@users.noreply.github.com> Date: Mon, 31 Oct 2022 16:29:25 +0800 Subject: [PATCH] [Doc] Add contributor guide for writing new documentation (#6254) * Revise toc tree & add draft version for document guide * Add more contents and revise documentation guide * Rename new file for documentation guide * Add some new contents and try to change html tables to plain text tables for generated styles * Change back to html table with specified css * Add some new contents and small revision * Revise contributor index page * Minor typo fixes for landing page quicklinks * Revise based on comments * Add rst card components and small revisions --- .../readthedocs/source/_static/css/custom.css | 5 + .../source/_templates/sidebar_quicklinks.html | 20 +- docs/readthedocs/source/_toc.yml | 9 +- .../source/doc/UserGuide/contributor.rst | 5 + .../source/doc/UserGuide/documentation.md | 592 ++++++++++++++++++ 5 files changed, 619 insertions(+), 12 deletions(-) create mode 100644 docs/readthedocs/source/doc/UserGuide/contributor.rst create mode 100644 docs/readthedocs/source/doc/UserGuide/documentation.md diff --git a/docs/readthedocs/source/_static/css/custom.css b/docs/readthedocs/source/_static/css/custom.css index e6ca444e..18f909b1 100644 --- a/docs/readthedocs/source/_static/css/custom.css +++ b/docs/readthedocs/source/_static/css/custom.css @@ -91,4 +91,9 @@ footer.bd-footer{ /* the margin height is just the height of original footer, to avoid content overlapping */ .bd-footer-article { margin-bottom: 5rem; +} + +/* for tables in documentation guides, vertically center rows */ +.bigdl-documentation-guide-tables td{ + vertical-align: middle; } \ No newline at end of file diff --git a/docs/readthedocs/source/_templates/sidebar_quicklinks.html b/docs/readthedocs/source/_templates/sidebar_quicklinks.html index 87f723d2..e85e6501 100644 --- a/docs/readthedocs/source/_templates/sidebar_quicklinks.html +++ b/docs/readthedocs/source/_templates/sidebar_quicklinks.html @@ -4,8 +4,8 @@