Skip to content

Commit

Permalink
Add navbar logo
Browse files Browse the repository at this point in the history
  • Loading branch information
SylvainCorlay committed Apr 2, 2017
1 parent 40d9c92 commit 6f6833a
Show file tree
Hide file tree
Showing 4 changed files with 82 additions and 6 deletions.
3 changes: 2 additions & 1 deletion docs/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ channels:
- conda-forge

dependencies:
- sphinx
- python=3.5
- sphinx_rtd_theme
- pip:
- breathe
8 changes: 8 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@
if on_rtd:
subprocess.call('cd ..; doxygen', shell=True)

import sphinx_rtd_theme

html_theme = "sphinx_rtd_theme"

html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]

extensions = ['breathe']
breathe_projects = { 'xsimd': '../xml' }
templates_path = ['_templates']
Expand All @@ -18,6 +24,8 @@
copyright = '2016, Johan Mabille and Sylvain Corlay'
author = 'Johan Mabille and Sylvain Corlay'

html_logo = 'quantstack-white.svg'

exclude_patterns = []
highlight_language = 'c++'
pygments_style = 'sphinx'
Expand Down
25 changes: 20 additions & 5 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,18 @@
The full license is in the file LICENSE, distributed with this software.
xsimd
=====
.. image:: http://quantstack.net/assets/images/xsimd.svg
:alt: xsimd

C++ wrappers for SIMD intrinsics.

`xsimd` requires a modern C++ compiler supporting C++11. The following C+ compilers are supported:
Introduction
------------

`xsimd` requires a modern C++ compiler supporting C++11. The following C++ compilers are supported:

- On Windows platforms, Visual C++ 2015 Update 2, or more recent
- On Unix platforms, gcc 4.9 or recent versions of Clang
- On Unix platforms, gcc 4.9 or a recent version of Clang

Licensing
---------
Expand All @@ -22,9 +25,21 @@ copyright on their contributions.

This software is licensed under the BSD-3-Clause license. See the LICENSE file for details.


.. toctree::
:maxdepth: 3
:caption: INSTALLATION
:maxdepth: 2

installation

.. toctree::
:caption: USAGE
:maxdepth: 2

usage

.. toctree::
:caption: API REFERENCE
:maxdepth: 2

api_reference
52 changes: 52 additions & 0 deletions docs/source/quantstack-white.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6f6833a

Please sign in to comment.