Skip to content

Commit 73ce49f

Browse files
committed
Unify documentation style
1 parent 93efc07 commit 73ce49f

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ The Python bindings for `xtensor` are based on the [pybind11](https://github.com
2424
conda install -c conda-forge xtensor-python
2525
```
2626

27+
## Documentation
28+
29+
To get started with using `xtensor-python`, check out the full documentation
30+
31+
http://xtensor-python.readthedocs.io/
32+
2733
## Usage
2834

2935
xtensor-python offers two container types wrapping numpy arrays inplace to provide an xtensor semantics
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.wy-nav-content{
2+
max-width: 1000px;
3+
margin: auto;
4+
}

docs/source/conf.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,13 @@
1515

1616
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
1717

18+
def setup(app):
19+
app.add_stylesheet("main_stylesheet.css")
20+
1821
extensions = ['breathe']
1922
breathe_projects = { 'xtensor-python': '../xml' }
2023
templates_path = ['_templates']
24+
html_static_path = ['_static']
2125
source_suffix = '.rst'
2226
master_doc = 'index'
2327
project = 'xtensor-python'

0 commit comments

Comments
 (0)