Skip to content

Sphinx MyST-enabled project template to create HTML and PDF with localisation (sphinx-intl)

Notifications You must be signed in to change notification settings

user2084/sphinx-intl-myst-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sphinx-intl-myst-template - A Sphinx Project Template

Features

Usage

  • base language is English (build/en and source/)
  • translation example is given in German (build/de and locale/de)
  • add another language with: ./add-language.sh es
    • translate in locale/es/LC_MESSAGES/*.po (fill corresponding msgstr fields)
  • build: ./build.sh (recreates ./build!)
    • PDF: ./build.sh pdf

Requirements

pip install --user sphinx-book-theme myst-parser sphinx-intl rst2pdf

Inspired by

LICENSE

Public Domain.

About

Sphinx MyST-enabled project template to create HTML and PDF with localisation (sphinx-intl)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published