diff --git a/.gitignore b/.gitignore index 66f6e40..cb5fa74 100644 --- a/.gitignore +++ b/.gitignore @@ -76,6 +76,7 @@ instance/ # Sphinx documentation docs/_build/ +docs/source/auto_examples # PyBuilder .pybuilder/ diff --git a/docs/Makefile b/docs/Makefile index 9c637f1..9af6711 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -14,6 +14,7 @@ help: clean: rm -rf $(BUILDDIR)/* + rm -rf $(SOURCEDIR)/auto_examples* .PHONY: help Makefile diff --git a/docs/requirements.txt b/docs/requirements.txt index 4d27ad4..3ceff31 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -6,4 +6,5 @@ sphinx-design pydata_sphinx_theme sphinx-togglebutton Jinja2 +myst-sphinx-gallery git+https://github.com/Fanchengyan/FanInSAR.git@main diff --git a/docs/source/_static/.$class_Structure.drawio.bkp b/docs/source/_static/.$class_Structure.drawio.bkp deleted file mode 100644 index cb6c441..0000000 --- a/docs/source/_static/.$class_Structure.drawio.bkp +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/docs/source/_static/class_Structure.drawio b/docs/source/_static/class_Structure.drawio deleted file mode 100644 index fe457a4..0000000 --- a/docs/source/_static/class_Structure.drawio +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/source/_static/custom.css b/docs/source/_static/custom.css index 60313cd..bf01200 100644 --- a/docs/source/_static/custom.css +++ b/docs/source/_static/custom.css @@ -1,10 +1,51 @@ -.bd-content { - flex-grow: 1; - max-width: 100%; -} + .bd-page-width { max-width: 100rem; } -.bd-main .bd-article-container { - max-width: 100%; + + +table { + width: auto; /* Override fit-content which breaks Styler user guide ipynb */ +} + +/* Main index page overview cards */ + +.intro-card { + padding: 30px 10px 20px 10px; +} + +.intro-card .sd-card-img-top { + margin: 10px; + height: 52px; + background: none !important; +} + +.intro-card .sd-card-title { + color: var(--pst-color-secondary); + font-size: var(--pst-font-size-h5); + padding: 1rem 0rem 0.5rem 0rem; +} + +.intro-card .sd-card-footer { + border: none !important; +} + +.intro-card .sd-card-footer p.sd-card-text { + max-width: 220px; + margin-left: auto; + margin-right: auto; +} + +/* .intro-card .sd-btn-secondary { + background-color: #6c757d !important; + border-color: #6c757d !important; +} + +.intro-card .sd-btn-secondary:hover { + background-color: #5a6268 !important; + border-color: #545b62 !important; +} */ + +.card, .card img { + background-color: var(--pst-color-background); } diff --git a/docs/source/_static/datsets.drawio b/docs/source/_static/datsets.drawio deleted file mode 100644 index 4898380..0000000 --- a/docs/source/_static/datsets.drawio +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/source/_static/doc_index/index_api.svg b/docs/source/_static/doc_index/index_api.svg new file mode 100644 index 0000000..9cc960b --- /dev/null +++ b/docs/source/_static/doc_index/index_api.svg @@ -0,0 +1,92 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + diff --git a/docs/source/_static/doc_index/index_contribute.svg b/docs/source/_static/doc_index/index_contribute.svg new file mode 100644 index 0000000..97fd155 --- /dev/null +++ b/docs/source/_static/doc_index/index_contribute.svg @@ -0,0 +1,75 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/docs/source/_static/doc_index/index_example.svg b/docs/source/_static/doc_index/index_example.svg new file mode 100644 index 0000000..3de22d4 --- /dev/null +++ b/docs/source/_static/doc_index/index_example.svg @@ -0,0 +1,70 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/docs/source/_static/doc_index/index_get_start.svg b/docs/source/_static/doc_index/index_get_start.svg new file mode 100644 index 0000000..ea4726c --- /dev/null +++ b/docs/source/_static/doc_index/index_get_start.svg @@ -0,0 +1,69 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/docs/source/_static/logo/icon.png b/docs/source/_static/logo/icon.png index 04fa634..15737c4 100644 Binary files a/docs/source/_static/logo/icon.png and b/docs/source/_static/logo/icon.png differ diff --git a/docs/source/_static/logo/icon.svg b/docs/source/_static/logo/icon.svg index 9f9e98d..0c220bd 100644 --- a/docs/source/_static/logo/icon.svg +++ b/docs/source/_static/logo/icon.svg @@ -5,7 +5,7 @@ viewBox="0 0 500 500" version="1.1" id="svg11" - sodipodi:docname="icon_v1.svg" + sodipodi:docname="icon.svg" inkscape:version="1.3 (0e150ed, 2023-07-21)" inkscape:export-filename="icon.png" inkscape:export-xdpi="96" @@ -29,7 +29,7 @@ inkscape:deskcolor="#d1d1d1" inkscape:document-units="pt" inkscape:zoom="0.66474411" - inkscape:cx="553.59648" + inkscape:cx="552.09214" inkscape:cy="534.79225" inkscape:window-width="2560" inkscape:window-height="1332" @@ -1044,147 +1044,10 @@ sodipodi:start="2.4399127" sodipodi:end="2.4198519" sodipodi:arc-type="slice" - d="M 185.99878,192.74902 A 140.49036,140.94046 0 0 1 202.07578,-5.4151897 140.49036,140.94046 0 0 1 399.68528,9.7192868 140.49036,140.94046 0 0 1 385.59037,208.0353 140.49036,140.94046 0 0 1 187.83949,194.89 l 105.46004,-93.11829 z" />