Skip to main content

ENOS Docs theme for Sphinx

Project description

# sphinx_enos_theme

## Change Log

### 0.2.5

  • change note css

### 0.2.4

  • adjust table css

### 0.2.3

  • remove PDF download button

### 0.2.2

  • add config display_header default true

  • add config copyright_en and copyright_zh

  • fix some bug

### 0.2.1

  • header update

### 0.1.4

  • show image as Full screen mode

  • change toc deep to 8

  • add about chanel

  • fix some language bugs

### 0.1.3

  • Auto scroll to current selected toc

  • Add + to the node, if there are any children under it

### 0.1.2

  • Change toc deep to 4

  • Hide current page toc from global toc tree

  • Fix a small bug

### 0.1.1

  • Change selected toc style

  • Add PDF download button

  • Add version change dropdown list

## Usage:

` pip install sphinx_enos_theme `

Change conf.py

` html_theme = "sphinx_enos_theme" `

## Contribute

Use gulp webpack to compile CSS/JS and HTML template

### Dependencies

  • Python >= 2.7

  • node >= 9.0

  • gulp >= 4.0

  • webpack >= 4.0

  • sphinx

### Before development

> go to src/templates/layout.html, uncomment line 151 & comment line 153

  • prepare dev

` gulp pre `

  • start dev server

` gulp `

### publish new version

> go to src/templates/layout.html, comment line 151 and uncomment line 153

update the version number in _init_.py

  • build dist

` gulp build `

  • dist python package

` python setup.py sdist `

  • publish

` twine upload dist/* `

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sphinx_enos_theme-0.2.7.tar.gz (321.3 kB view details)

Uploaded Source

File details

Details for the file sphinx_enos_theme-0.2.7.tar.gz.

File metadata

  • Download URL: sphinx_enos_theme-0.2.7.tar.gz
  • Upload date:
  • Size: 321.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.20.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.1

File hashes

Hashes for sphinx_enos_theme-0.2.7.tar.gz
Algorithm Hash digest
SHA256 5769307f152f50557e32b00ccd0a762cc3228a705510104581e0c5376100c3fa
MD5 7b1dc09ba0971ad59cab748167e89813
BLAKE2b-256 bef3249f0207a36a5f9125cf699a5cf0b31c75e6d755067068476520ab0351f2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page