Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sympy/sympy.github.com
SymPy's web page (sympy.org)
https://github.com/sympy/sympy.github.com
sympy
Last synced: about 2 months ago
JSON representation
SymPy's web page (sympy.org)
- Host: GitHub
- URL: https://github.com/sympy/sympy.github.com
- Owner: sympy
- Created: 2010-07-03T06:46:14.000Z (about 14 years ago)
- Default Branch: sources
- Last Pushed: 2024-02-01T10:25:33.000Z (8 months ago)
- Last Synced: 2024-05-01T11:27:00.675Z (5 months ago)
- Topics: sympy
- Language: HTML
- Homepage: https://sympy.org/
- Size: 3.26 MB
- Stars: 174
- Watchers: 39
- Forks: 106
- Open Issues: 33
-
Metadata Files:
- Readme: README.md
- Support: support.html
Awesome Lists containing this project
README
# SymPy Website
[![Build
Status](https://travis-ci.org/sympy/sympy.github.com.svg?branch=sources)](https://travis-ci.org/sympy/sympy.github.com)This is the SymPy website served at:
http://sympy.org/
using GitHub Pages.
To modify it, edit the files in the `templates` directory. You can check the
output with./generate
You need to install jinja2 (http://jinja.pocoo.org/) and Babel
(http://pypi.python.org/pypi/Babel).To see the output with styling, you will need to run a HTTP server. The
easiest way to do this is to runpython -m http.server
and then open [0.0.0.0:8000](0.0.0.0:8000) in your browser.
The website is generated automatically on [Travis
CI](https://travis-ci.org/sympy/sympy.github.com). The pages are served
using GitHub pages from the
[`gh-pages`](https://github.com/sympy/sympy.github.com/tree/gh-pages) branch. All
modifications should be made to the
[`sources`](https://github.com/sympy/sympy.github.com/tree/sources) branch. The
`gh-pages` branch is generated automatically.Note that all files at the root of the `sources` branch are synced to the
`gh-pages` branch. If you want to add additional files that are not translated,
they can be added there. But consider:- Any page with content should be added to `templates` so that it can be
translated.- Any images should be added to `media`.
- Any styling changes should be made in
the [sympy-web-static](https://github.com/sympy/sympy-web-static)
repository. This repository is added as a submodule in the `static`
directory.## Translations
The web pages for each language are generated into the `cs`, `de`, `en`
directories. In order to add a new language, first extract all translatable
texts into a `.pot` file using./extract_i18n_text
It will appear in the i18n directory. Then translate it by creating a `.po` file
with the translation in the i18n directory. Compile it using./compile_i18n
Then add the language in the generate script, generate the pages and commit the
generated files. Don't forget to add the new language in the `base.html` so that
one can switch into it.