-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
README.html
97 lines (72 loc) · 7.2 KB
/
README.html
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
93
94
95
96
97
<!DOCTYPE html><html><head><meta charset="utf-8"/><title>Lilian Besson's Web Pages - using Sphinx</title></head><body><xmp>
# [Lilian Besson](https://bitbucket.org/lbesson/)'s Web Pages - using Sphinx
[My web pages](https://perso.crans.org/besson/) are currently generated with [Sphinx Doc](http://sphinx-doc.org) (*v1.5+*).
[![Website https://perso.crans.org/besson/](https://img.shields.io/website-up-down-green-red/http/perso.crans.org.svg)](https://perso.crans.org/besson/)
[![Made with Python v3.5.2+](https://img.shields.io/badge/Made%20with-Python-1f425f.svg)](https://www.python.org/)
[![Made with Sphinx v1.5.1+](https://img.shields.io/badge/Made%20with-Sphinx-1f425f.svg)](http://sphinx-doc.org/)
I have been using [Sphinx](http://sphinx-doc.org) [since 2012](https://bitbucket.org/lbesson/web-sphinx/commits/b3a0205a3f2fe288f91e9bceb9f1ac6f6335bce3), and I like it very much!
Currently this *project* is in version *3.0*, *public* release!
I recently switched to a much cleaner theme, based on [alabaster](http://alabaster.readthedocs.io/), the new Sphinx's default theme, and nicer fonts (in Dec 2017)
[![Maintained? Yes!](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://bitbucket.org/lbesson/web-sphinx/commits/)
[![Ask Me Anything!](https://img.shields.io/badge/Ask%20me-anything-1abc9c.svg)](https://bitbucket.org/lbesson/ama)
## Where are those pages ?
⟹ On [https://perso.crans.org/besson/](<https://perso.crans.org/besson/> "Check this one !"). [![Website perso.crans.org](https://img.shields.io/website-up-down-green-red/http/perso.crans.org.svg)](https://perso.crans.org/)
## Demos
- In English:
![Screenshot demo of my web pages in English (1/2)](demo_en.png)
- In French:
![Screenshot demo of my web pages in French (2/2)](demo_fr.png)
## What do those pages contain ?
Some pages host my résumé, others are just experiments, about Sphinx and many other things.
A few pages talk about some points I am interested in (GNU Nano, Sublime Text 3, Firefox, hitch-hiking, maths, Pokémon etc)...
## Other repository
To limit the size of this one, I used an other git repository to store the `scripts/` folder : [web-sphinx-scripts](<https://bitbucket.org/lbesson/web-sphinx-scripts/> "Hehe").
This second repository mainly hosts some Javascript scripts
(GNU Plot & OCaml & Python toplevel, `shortcuts.js`, etc),
and also a **complete** Python distribution, used with `python.opt.js` to embed a Python toplevel in my web pages (I know, it's useless, but so funny !).
----
### Author
© [Lilian Besson](https://perso.crans.org/besson/), [2011-2017](https://bitbucket.org/lbesson/web-sphinx/commits/).
### Languages
* the [reStructuredText](http://docutils.sourceforge.net/rst.html) plain text markup language, mainly, for the content of the pages,
* [Jinja](http://sphinx-doc.org/templating.html#jinja-sphinx-templating-primer) [templates](.templates/) (for changing appearance of the web pages),
* [Javascript](https://en.wikipedia.org/wiki/Javascript) in the [`.static/`](.static/) folder, for some interactive stuff on the web-pages. See [this page for some details](https://perso.crans.org/besson/js.html),
* [CSS](https://en.wikipedia.org/wiki/CSS) in the [`.static/`](.static/) folder, for an improved style, based on the (old) default Sphinx style,
* [HTML](https://en.wikipedia.org/wiki/HTML) (to include a few web components in some pages),
* [Python](https://www.Python.org/) (for Sphinx configuration, [`conf.py`](conf.py) file).
----
## Requirements ?
This project use the following software:
* [Python](https://www.Python.org/), version [2.7+](https://docs.python.org/2/) or [3.4+](https://docs.python.org/3/). [![PyPI pyversions](https://img.shields.io/pypi/pyversions/ansicolortags.svg)](https://pypi.python.org/pypi/ansicolortags/)
* [Python Sphinx](http://sphinx-doc.org) (currently v1.5+, but v1.3+ should be enough);
* [GNU Make](https://www.gnu.org/software/make/) (other versions of Make should *NOT* work);
* `rst2pdf`, `rst2html`, `rst2s5`, included in the [docutils package](http://docutils.sourceforge.net/), only required to build other formats, but *not* required for building basic HTML;
* *Optional:* [LaTeX](http://www.latex-project.org/) (`pdflatex`, and `hevea`) (*not* required for building html);
* [git](https://git-scm.com/) (but not required for building);
* [rsync](https://rsync.samba.org/), for uploading the update pages online;
* [GNU grep](https://www.gnu.org/software/grep/);
* [GnuPG](https://www.gnupg.org/) (`gpg`);
* and the following [Sphinx contrib extensions](https://bitbucket.org/birkenfeld/sphinx-contrib/), to be installed manually :
* [autorun](https://bitbucket.org/birkenfeld/sphinx-contrib/src/default/autorun/);
* [bitbucket](https://bitbucket.org/dhellmann/sphinxcontrib-bitbucket);
* [cheeseshop](https://bitbucket.org/birkenfeld/sphinx-contrib/src/default/cheeseshop/);
* [gnuplot](https://bitbucket.org/birkenfeld/sphinx-contrib/src/default/gnuplot/);
* [youtube](https://bitbucket.org/birkenfeld/sphinx-contrib/src/default/youtube/);
* these [Python packages, from PyPI](https://pypi.python.org/): [ansicolortags](https://pypi.python.org/pypi/ansicolortags/), [sphinx_pyreverse](https://pypi.python.org/pypi/sphinx_pyreverse/), [sphinx_git](https://pypi.python.org/pypi/sphinx_git/), [sphinx_tabs](https://pypi.python.org/pypi/sphinx_tabs/). Install them with `sudo pip install ansicolortags sphinx_pyreverse sphinx_git sphinx_tabs`;
* *Optional:* GnuPlot (but *not* GNU Octave), only for [these embedded examples](https://perso.crans.org/besson/gnuplot_embed.html);
* *Optional:* GraphViz and Dot graph (`dot`), only for [these embedded examples](https://perso.crans.org/besson/graph.fr.html);
* *Optional:* Ocaml, only for [these embedded examples](https://perso.crans.org/besson/runblock.en.html#adding-support-for-another-language-ocaml).
To install all these dependencies, use [brew](https://brew.sh/) on Mac OS, or your package manager on Linux/UNIX.
## License [![GPLv3 license](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://perso.crans.org/besson/LICENSE.html)
This project is released under the **GPLv3 license**, for more details,
take a look at the [LICENSE file](https://perso.crans.org/besson/LICENSE.html) in the source.
© Lilian Besson, 2012-2024.
*Basically, that allow you to use all or part of the project for you own business.*
[![ForTheBadge built-with-love](http://ForTheBadge.com/images/badges/built-with-love.svg)](https://bitbucket.org/lbesson/web-sphinx/commits/)
[![Analytics](https://ga-beacon.appspot.com/UA-38514290-17/bitbucket.org/lbesson/web-sphinx/README.md?pixel)](https://bitbucket.org/lbesson/web-sphinx)
[![ForTheBadge uses-badges](http://ForTheBadge.com/images/badges/uses-badges.svg)](http://ForTheBadge.com)
[![ForTheBadge uses-git](http://ForTheBadge.com/images/badges/uses-git.svg)](https://bitbucket.org/lbesson)
[![ForTheBadge uses-html](http://ForTheBadge.com/images/badges/uses-html.svg)](http://ForTheBadge.com)
[![ForTheBadge uses-css](http://ForTheBadge.com/images/badges/uses-css.svg)](http://ForTheBadge.com)
[![ForTheBadge uses-js](http://ForTheBadge.com/images/badges/uses-js.svg)](http://ForTheBadge.com)
</xmp><script type="text/javascript" src="https://lbesson.bitbucket.io/md/strapdown.min.js?beacon=y"></script></body></html>