Skip to content

Commit

Permalink
Merge pull request #707 from Starlitnightly/master
Browse files Browse the repository at this point in the history
Optimize the display of the tutorial page and add `adjust_legend` argument
  • Loading branch information
Xiaojieqiu authored Dec 21, 2024
2 parents 94bb9d1 + 52efe86 commit c181381
Show file tree
Hide file tree
Showing 143 changed files with 18,230 additions and 429 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ docs/build
docs/source/dynamo*
docs/source/_autosummary

docs/generated/
docs/_build/
docs/api/reference/*rst

# always-ignore directories
/build/
/dist/
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "docs/tutorials/notebooks"]
path = docs/tutorials/notebooks
url = https://github.com/aristoteleo/dynamo-tutorials.git
9 changes: 7 additions & 2 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ build:

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/source/conf.py
configuration: docs/conf.py

# python:
# version: 3.7
Expand All @@ -23,4 +23,9 @@ python:
extra_requirements:
- docs
# - method: setuptools
# path: package
# path: package

submodules:
include:
- "docs/tutorials/notebooks"
recursive: true
343 changes: 334 additions & 9 deletions CHANGELOG.md

Large diffs are not rendered by default.

13 changes: 7 additions & 6 deletions docs/Makefile
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# Minimal makefile for Sphinx documentation
#

# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = sphinx-build
SOURCEDIR = source
BUILDDIR = build
# You can set these variables from the command line, and also
# from the environment for the first two.
SPHINXOPTS ?=
SPHINXBUILD ?= sphinx-build
SOURCEDIR = .
BUILDDIR = _build

# Put it first so that "make" without argument is like "make help".
help:
Expand All @@ -16,4 +17,4 @@ help:
# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/Shiny_tutorial_files/lap/1_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/Shiny_tutorial_files/lap/1_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/Shiny_tutorial_files/lap/2_1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/Shiny_tutorial_files/lap/2_2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/Shiny_tutorial_files/lap/2_3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/Shiny_tutorial_files/lap/2_4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/Shiny_tutorial_files/lap/2_5.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/Shiny_tutorial_files/lap/2_6.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/Shiny_tutorial_files/lap/3_1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/Shiny_tutorial_files/lap/3_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/Shiny_tutorial_files/lap/4_1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/Shiny_tutorial_files/lap/4_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/Shiny_tutorial_files/lap/5_1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/Shiny_tutorial_files/lap/5_2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/Shiny_tutorial_files/lap/6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/Shiny_tutorial_files/lap/7_1.png
Binary file added docs/_static/Shiny_tutorial_files/lap/7_2.jpg
Binary file added docs/_static/Shiny_tutorial_files/lap/8_1.jpg
Binary file added docs/_static/Shiny_tutorial_files/lap/8_2.png
Binary file added docs/_static/Shiny_tutorial_files/lap/9_1.png
Binary file added docs/_static/Shiny_tutorial_files/lap/9_2.jpg
Binary file added docs/_static/Shiny_tutorial_files/lap/9_3.jpg
Binary file added docs/_static/Shiny_tutorial_files/lap/9_4.jpg
Binary file added docs/_static/Shiny_tutorial_files/lap/9_5.png
Binary file added docs/_static/Shiny_tutorial_files/lap/9_6.jpg
Binary file added docs/_static/Shiny_tutorial_files/lap/9_7.png
Binary file added docs/_static/Shiny_tutorial_files/lap/9_8.png
37 changes: 37 additions & 0 deletions docs/_static/css/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
.caption-text{
padding: 0px;
}

.rst-content .output_area img {
max-width: unset;
width: 100% !important;
height: auto !important;
}


/* sidebar */
.rst-content .sidebar {
/* margin: 0px 0px 0px 12px; */
padding-bottom: 0px;
}
.rst-content .sidebar p {
margin-bottom: 12px;
}
.rst-content .sidebar p,
.rst-content .sidebar ul,
.rst-content .sidebar dl {
font-size: 13px;
}

.scrollit {
overflow-x:auto;
}

/* Sidebar header (and topbar for mobile) */
.wy-side-nav-search, .wy-nav-top {
background: #1b1b1b;
}
/* Sidebar */
.wy-nav-side {
background: #373737;
}
Empty file added docs/_static/css/override.css
Empty file.
13 changes: 13 additions & 0 deletions docs/_static/dynamo-horizontal.svg

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/_static/img/anndata_manager_schematic.svg
1 change: 1 addition & 0 deletions docs/_static/img/setup_anndata_before_after.svg

Large diffs are not rendered by default.

Binary file added docs/_static/logo.png
Loading

0 comments on commit c181381

Please sign in to comment.