Skip to content

Commit

Permalink
Merge 8fdc77f into a171075
Browse files Browse the repository at this point in the history
  • Loading branch information
choldgraf committed Feb 24, 2020
2 parents a171075 + 8fdc77f commit 598cd2d
Show file tree
Hide file tree
Showing 5 changed files with 55 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/conf.py
Expand Up @@ -28,7 +28,7 @@
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = ["myst_parser", "sphinxcontrib.bibtex"]
extensions = ["myst_parser", "sphinxcontrib.bibtex", "sphinx_tabs.tabs"]

# Add any paths that contain templates here, relative to this directory.
templates_path = ["_templates"]
Expand Down
26 changes: 26 additions & 0 deletions docs/test/md.md
@@ -0,0 +1,26 @@
# Testing md


````{tabs}
```{tab} testa
contenta
```
```{tab} testb
contentb
```
````

````{tabs}
```{tab}
testa
contenta1
contenta2
```
```{tab}
testb
contentb1
contentb2
```
````
25 changes: 25 additions & 0 deletions docs/test/rst.rst
@@ -0,0 +1,25 @@
Testing rst
===========

.. tabs::

.. tab:: testa

contenta

.. tab:: testb

contentb

.. note::

normal

.. note:: start writing
and don't
stop


.. note:: start writing

with space
2 changes: 2 additions & 0 deletions docs/using/index.md
Expand Up @@ -6,4 +6,6 @@ Myst documents.
```{toctree}
install.md
syntax.md
../test/md.md
../test/rst.rst
```
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -40,7 +40,7 @@
)
],
extras_require={
"sphinx": ["pyyaml", "docutils>=0.15", "sphinx>=2,<3"],
"sphinx": ["pyyaml", "docutils>=0.15", "sphinx>=2,<3", "sphinx-tabs"],
"code_style": ["flake8<3.8.0,>=3.7.0", "black", "pre-commit==1.17.0"],
"testing": [
"coverage",
Expand Down

0 comments on commit 598cd2d

Please sign in to comment.