Coder Social home page Coder Social logo

freja-sphinx's Introduction

freja — a theme for Sphinx document generator

This is a simple and (hopefully) clean theme for Sphinx. You can see it used here. Or see screenshots at the bottom of this page.

How to

One of:

  • download a release and extract it to your Sphinx doc directory.
  • git clone this repo and copy freja/_static and freja/_templates to your Sphinx doc directory.

See templating for more info. The relevant bits:

To customize the output of your documentation you can override all the templates (both the layout templates and the child templates) by adding files with the same name as the original filename into the template directory of the structure the Sphinx quickstart generated for you.

Sphinx will look for templates in the folders of templates_path first, and if it can’t find the template it’s looking for there, it falls back to the selected theme’s templates.

Thus the _templates/layout.html.

What

This theme/layout override might not provide all the bells and whistles of a full-blown theme.

It provides:

  • An overall layout
  • ToC for current page
  • ToC for overall docs
  • Support for class/method/params/fields
  • Support for index pages
  • Support for the search page
  • Support for project logo (set in your conf.py and add image to _static)
  • All within one file

It does not provide

  • Full featured support for everything Sphinx has to offer (I don't know what that may be though :) )
  • Extensibility (yet?). It does not inherit from basic theme's layout and does not provide blocks itself
  • i18n for hardcoded strings. Once again, not realy using all of Sphinx's features

Acknowledgements

Version 0.2 is based on Elixir docs.

Linear Icons licensed under CC BY-SA 4.0.

What it looks like

Version 0.2

image

image

Version 0.1

image

freja-sphinx's People

Contributors

dmitriid avatar

Watchers

James Cloos avatar Brian J King avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.