GithubHelp home page GithubHelp logo

p13lgst / sympy.github.com Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sympy/sympy.github.com

0.0 1.0 0.0 2.23 MB

SymPy's web page (sympy.org)

Home Page: https://sympy.org/

HTML 96.60% Shell 0.48% Python 2.92%

sympy.github.com's Introduction

SymPy Website

Build Status

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 run

python -m http.server

and then open 0.0.0.0:8000 in your browser.

The website is generated automatically on Travis CI. The pages are served using GitHub pages from the master branch. All modifications should be made to the sources branch. The master branch is generated automatically.

Note that all files at the root of the sources branch are synced to the master 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 added to

  • Any styling changes should be made in the 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.

sympy.github.com's People

Contributors

aktech avatar asmeurer avatar bjodah avatar cam-gerlach avatar certik avatar debugger22 avatar elrull avatar fankalemura avatar fxkr avatar goodok avatar jtenberg avatar kpeeters avatar launerbie avatar lidavidm avatar moorepants avatar navgeet avatar normalhuman avatar renatocoutinho avatar reverland avatar skirpichev avatar smichr avatar vks avatar vmax avatar willingc avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.