Skip to content

Commit

Permalink
DOC: No smart_quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
has2k1 committed Dec 31, 2017
1 parent 8b07f7b commit 5faf0ca
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
9 changes: 7 additions & 2 deletions doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ BUILDDIR = _build

# For make theme
BOOTSWATCHTHEME = united
PRIMARY = \#145FCE
# PRIMARY = \#145FCE
brand-primary = \#145FCE
headings-font-weight = bold
font-family-sans-serif = '"Lato", "proxima-nova", "Helvetica Neue", Arial, sans-serif'

# User-friendly check for sphinx-build
ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1)
Expand Down Expand Up @@ -182,4 +185,6 @@ pseudoxml:

theme:
../tools/build_theme.sh --theme $(BOOTSWATCHTHEME) \
--brand-primary '$(PRIMARY)'
--brand-primary '$(brand-primary)' \
--headings-font-weight $(headings-font-weight) \
--font-family-sans-serif '$(font-family-sans-serif)'
3 changes: 3 additions & 0 deletions doc/docutils.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# These entries affect all processing:
[general]
smart_quotes: no
2 changes: 1 addition & 1 deletion tools/build_theme.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ cp -rf theme $toplevel/doc
# Do a hotswap (it may be enough for us to see the results compared to
# regenerating the html)
cd $toplevel
cp $toplevel/doc/{theme/static,_build/html/_static}/bootstrap-3.3.6/css/bootstrap.min.css
cp $toplevel/doc/{theme/static,_build/html/_static}/bootstrap-*/css/bootstrap.min.css

echo "${color5}success${reset}"

0 comments on commit 5faf0ca

Please sign in to comment.