File: docs

package info (click to toggle)
sphinxcontrib-sass 0.3.4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 140 kB
  • sloc: python: 67; makefile: 14
file content (92 lines) | stat: -rw-r--r-- 2,824 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
Author: Kazuya Takei <myself@attakei.net>
Description: files copied from upstream's repository
Origin: upstream, https://github.com/attakei-lab/sphinxcontrib-sass/tree/833a72b208469b863403a0a3650a43b70199834f/docs
Forwarded: not-needed

They are missing from the source distribution on PyPI
--- /dev/null
+++ sphinxcontrib-sass/docs/Makefile
@@ -0,0 +1,20 @@
+# Minimal makefile for Sphinx documentation
+#
+
+# You can set these variables from the command line, and also
+# from the environment for the first two.
+SPHINXOPTS    ?=
+SPHINXBUILD   ?= sphinx-build
+SOURCEDIR     = .
+BUILDDIR      = _build
+
+# Put it first so that "make" without argument is like "make help".
+help:
+	@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
+
+.PHONY: help Makefile
+
+# Catch-all target: route all unknown targets to Sphinx using the new
+# "make mode" option.  $(O) is meant as a shortcut for $(SPHINXOPTS).
+%: Makefile
+	@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
--- /dev/null
+++ sphinxcontrib-sass/docs/_sass/custom.scss
@@ -0,0 +1,8 @@
+
+@import url(//fonts.googleapis.com/earlyaccess/notosanssc.css);
+$font-cn: "Noto Sans SC", "游ゴシック", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", sans-serif;
+
+
+h1 {
+  font-family: $font-cn !important;
+}
--- /dev/null
+++ sphinxcontrib-sass/docs/conf.py
@@ -0,0 +1,26 @@
+# -- Path setup --------------------------------------------------------------
+
+# -- Project information -----------------------------------------------------
+project = "sphinxcontrib-sass example"
+copyright = "2021, Kazuya Takei"
+author = "Kazuya Takei"
+release = "0.1.0"
+
+# -- General configuration ---------------------------------------------------
+extensions = [
+    "sphinxcontrib.sass",
+]
+templates_path = ["_templates"]
+exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
+
+# -- Options for HTML output -------------------------------------------------
+html_theme = "alabaster"
+html_static_path = ["_static"]
+html_css_files = ["css/custom.css"]
+
+sass_src_dir = "_sass"
+sass_out_dir = "_static/css"
+sass_targets = {
+    "custom.scss": "custom.css",
+}
+sass_output_style = "compressed"
--- /dev/null
+++ sphinxcontrib-sass/docs/index.rst
@@ -0,0 +1,20 @@
+.. sphinxcontrib-sass example documentation master file, created by
+   sphinx-quickstart on Mon Apr 19 16:32:28 2021.
+   You can adapt this file completely to your liking, but it should at least
+   contain the root `toctree` directive.
+
+Welcome to sphinxcontrib-sass example's documentation!
+======================================================
+
+.. toctree::
+   :maxdepth: 2
+   :caption: Contents:
+
+
+
+Indices and tables
+==================
+
+* :ref:`genindex`
+* :ref:`modindex`
+* :ref:`search`