Skip to content

Daniel-Tojal/sphinx_julia_theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Julia Sphinx Theme

screen_mobile.png

Download the package or add it to your requirements.txt file:

$ pip install sphinx_julia_theme

In your conf.py file:

import sphinx_julia_theme

html_theme = "sphinx_julia_theme"

html_theme_path = [sphinx_julia_theme.get_html_theme_path()]

You can configure different parts of the theme.

The theme's project-wide options are defined in the sphinx_julia_theme/theme.conf file of this repository, and can be defined in your project's conf.py via html_theme_options. For example:

html_theme_options = {
    'collapse_navigation': False,
    'display_version': False,
    'navigation_depth': 3,
}

Pages support metadata that changes how the theme renders. You can currently add the following:

  • :github_url: This will force the "Edit on GitHub" to the configured URL
  • :bitbucket_url: This will force the "Edit on Bitbucket" to the configured URL
  • :gitlab_url: This will force the "Edit on GitLab" to the configured URL

About

A Sphinx theme that uses julia css

Resources

License

Stars

Watchers

Forks

Packages

No packages published