GithubHelp home page GithubHelp logo

pmisteliac / documentation Goto Github PK

View Code? Open in Web Editor NEW

This project forked from metaborg/documentation

0.0 1.0 0.0 4.05 MB

License: Apache License 2.0

Makefile 0.16% Python 0.76% CSS 2.79% Batchfile 0.25% HTML 0.08% JavaScript 0.03% TeX 95.93%

documentation's Introduction

Spoofax documentation

This repository contains the Spoofax documentation, made with Sphinx in the Read The Docs style of documentation.

This documentation is hosted at http://www.metaborg.org/en/latest/. When a commit to this repository is made, it will automatically build and update the documentation.

Requirements

Sphinx requires Python, at least version 2.6. To install the required Python packages, run:

pip install -r requirements.txt --upgrade

Building

To build the documentation, use the Makefile:

make html

which will generate HTML documentation into _build/html with _build/html/index.html as the main page.

Sphinx does incremental building if possible. If your changes are not being built for some reason, use the clean target:

make clean html

Other targets

  • latexpdf for a PDF version (via latex) of the documentation. A working latex distribution is required.
  • epub for an epub version, an e-book format with resizable text, for tablets and e-readers.
  • singlehtml for single page HTML documentation.
  • text for plain-text documentation.
  • help for a list of all other targets.

Troubleshooting

Could not import extension

While making the documentation, if you get an error similar to this:

Could not import extension foo (exception: No module named foo)

Then you need to update the installed Python packages from the requirements.txt file.

Could not find function xmlCheckVersion in library libxml2

If you get this error while installing the required Python packages:

*********************************************************************************
Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed?
*********************************************************************************

Then you need to install lxml through easy_install instead:

easy_install lxml

After that, installing the required Python packages through pip should succeed.

Microsoft Visual C++ 9.0 is required (Unable to find vcvarsall.bat)

If you get this error while installing the required Python packages on Windows:

error: Microsoft Visual C++ 9.0 is required (Unable to find vcvarsall.bat).

Then you need to download and install Microsoft Visual C++ Compiler for Python 2.7 from http://aka.ms/vcpython27.

Interpreter python is not an executable command

If you get the error:

Failed to execute process '/usr/local/bin/pip'. Reason:
The file '/usr/local/bin/pip' specified the interpreter '/usr/local/opt/python/bin/python3.x', which is not an executable command.

Or:

/bin/sh: /usr/local/bin/sphinx-build: /usr/local/opt/python/bin/python3.x: bad interpreter: No such file or directory
make: *** [html] Error 126

Then make sure your pip installation corresponds to your python installation. Execute the following to fix:

pip3 install --upgrade pip

documentation's People

Contributors

gohla avatar eelcovisser avatar hendrikvanantwerpen avatar apanatshka avatar virtlink avatar vvergu avatar udesou avatar dcharkes avatar jasperdenkers avatar volkerl avatar mpsijm avatar azwn avatar gwhitney avatar arendjan avatar casperbp avatar martijndwars avatar pmisteliac avatar mathnerd314 avatar besuikerd avatar indolering avatar

Watchers

James Cloos 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.