Skip to content

Commit

Permalink
More work on ToC
Browse files Browse the repository at this point in the history
  • Loading branch information
Gohla committed Feb 29, 2016
1 parent db7b53b commit 17d73cb
Show file tree
Hide file tree
Showing 43 changed files with 166 additions and 35 deletions.
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
# Spoofax documentation
# Spoofax Documentation

This repository contains Spoofax documentation made with [Sphinx](http://www.sphinx-doc.org/en/stable/).
This repository contains the Spoofax documentation, made with [Sphinx](http://www.sphinx-doc.org/en/stable/) in the [Read The Docs](https://docs.readthedocs.org/en/latest/index.html) style of documentation.

## Building

To build the documentation, use the Makefile:

```
make html
make clean html
```

which will generate HTML documentation into `_build/html` with `_build/html/index.html` as the main page.
Use the `latexpdf` target to build a PDF version of the documentation, and `epub` for an e-book (book format with) build.

## Requirements

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

```
Expand Down
66 changes: 41 additions & 25 deletions index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,46 +2,62 @@
Spoofax documentation
=====================

Table of Contents
=================

.. toctree::
:maxdepth: 2
:caption: Getting Started
:maxdepth: 3

Language Development <source/start/langdev.md>
Core API <source/start/core.md>
source/introduction

.. toctree::
:maxdepth: 2
:maxdepth: 3
:caption: Overview

source/overview/architecture.md
source/overview/glossary.md
source/overview/architecture
source/overview/glossary

.. toctree::
:maxdepth: 2
:maxdepth: 3
:caption: Language Development

Guides <source/langdev/guide/index.rst>
Manual <source/langdev/manual/index.rst>
Examples <source/langdev/example/index.rst>
Getting Started <source/langdev/start>
Guides <source/langdev/guide/index>
Manual <source/langdev/manual/index>
Meta-Languages <source/langdev/meta/lang/index>
Meta-Libraries <source/langdev/meta/lib/index>
Examples <source/langdev/example/index>

.. toctree::
:maxdepth: 2
:maxdepth: 3
:caption: Core API

Guides <source/core/guide/index.rst>
Manual <source/core/manual/index.rst>
Examples <source/core/example/index.rst>
Getting Started <source/core/start>
Guides <source/core/guide/index>
Manual <source/core/manual/index>
Examples <source/core/example/index>
API Reference <source/core/api>

.. toctree::
:maxdepth: 2
:caption: Notes

notes/audience.md
notes/outline.md
:maxdepth: 3
:caption: Spoofax Development

Build <source/dev/build>
Bootstrap <source/dev/bootstrap>
Release <source/dev/release>
Contribute <source/dev/contribute>

Indices and tables
==================

* :ref:`genindex`
* :ref:`search`
.. toctree::
:maxdepth: 3
:caption: Releases

source/release/note/index
source/release/migrate/index

.. .. toctree::
.. :maxdepth: 3
.. :caption: Notes
.. :hidden:
..
.. notes/audience
.. notes/outline
2 changes: 1 addition & 1 deletion notes/outline.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
* Core API
* Guides
* Manual
* Project structure
* Components
* MetaBorg vs Spoofax
* Language runtime vs language development runtime (meta)
* Facades
Expand Down
1 change: 1 addition & 0 deletions source/core/api.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# API Reference
7 changes: 7 additions & 0 deletions source/core/guide/artifact.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Using Core API Artifacts

## With Maven

## With Gradle

## Downloading JARs
4 changes: 3 additions & 1 deletion source/core/guide/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ Core API Guides
===============

.. toctree::
:maxdepth: 1
:maxdepth: 2

artifact
1 change: 1 addition & 0 deletions source/core/manual/component.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Components
1 change: 1 addition & 0 deletions source/core/manual/facade.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Facades
1 change: 1 addition & 0 deletions source/core/manual/high-service.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# High-Level Services
4 changes: 4 additions & 0 deletions source/core/manual/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@ Core API Manual

.. toctree::
:maxdepth: 1

component
facade
high-service
File renamed without changes.
1 change: 1 addition & 0 deletions source/dev/bootstrap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Bootstrapping Spoofax
1 change: 1 addition & 0 deletions source/dev/build.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Building Spoofax
1 change: 1 addition & 0 deletions source/dev/contribute.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Contributing to Spoofax
1 change: 1 addition & 0 deletions source/dev/release.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Releasing Spoofax
7 changes: 7 additions & 0 deletions source/introduction.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Introduction

## Description

## License

## Structure of the Documentation
4 changes: 4 additions & 0 deletions source/langdev/guide/build.md
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
# Building and Continuous Integration

## With Maven

## With Gradle
10 changes: 9 additions & 1 deletion source/langdev/guide/export.md
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
# Exporting a Language
# Exporting and Using a Language

## As an Eclipse plugin

## As an IntelliJ plugin

## As custom library/application using the core API

## With Sunshine
6 changes: 3 additions & 3 deletions source/langdev/guide/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ Language Development Guides
.. toctree::
:maxdepth: 1

declare.md
export.md
build.md
declare
export
build
1 change: 1 addition & 0 deletions source/langdev/manual/configuration.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Configuration
1 change: 1 addition & 0 deletions source/langdev/manual/env/eclipse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Eclipse Environment
1 change: 1 addition & 0 deletions source/langdev/manual/env/intellij.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# IntelliJ Environment
7 changes: 6 additions & 1 deletion source/langdev/manual/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,9 @@ Language Development Manual
===========================

.. toctree::
:maxdepth: 1
:maxdepth: 2

env/eclipse
env/intellij
project
configuration
1 change: 1 addition & 0 deletions source/langdev/manual/project.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Project Structure
1 change: 1 addition & 0 deletions source/langdev/meta/lang/dynsem.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# DynSem
1 change: 1 addition & 0 deletions source/langdev/meta/lang/esv.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# ESV
15 changes: 15 additions & 0 deletions source/langdev/meta/lang/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
=====================
Meta Languages Manual
=====================

.. toctree::
:maxdepth: 2

esv
sdf3
stratego
nabl
ts
nabl2
dynsem
spt
1 change: 1 addition & 0 deletions source/langdev/meta/lang/nabl.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# NaBL
1 change: 1 addition & 0 deletions source/langdev/meta/lang/nabl2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# NaBL2
1 change: 1 addition & 0 deletions source/langdev/meta/lang/sdf3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# SDF3
1 change: 1 addition & 0 deletions source/langdev/meta/lang/spt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# SPT
1 change: 1 addition & 0 deletions source/langdev/meta/lang/stratego.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Stratego
1 change: 1 addition & 0 deletions source/langdev/meta/lang/ts.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# TS
1 change: 1 addition & 0 deletions source/langdev/meta/lib/analysis.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Analysis Library
1 change: 1 addition & 0 deletions source/langdev/meta/lib/analysis2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Analysis Library 2
9 changes: 9 additions & 0 deletions source/langdev/meta/lib/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
=====================
Meta Libraries Manual
=====================

.. toctree::
:maxdepth: 2

analysis
analysis2
File renamed without changes.
1 change: 1 addition & 0 deletions source/release/migrate/2.0.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Spoofax 2.0.0 Migration
8 changes: 8 additions & 0 deletions source/release/migrate/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
================
Migration Guides
================

.. toctree::
:maxdepth: 2

2.0.0 <2.0.0>
1 change: 1 addition & 0 deletions source/release/note/2.0.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Spoofax 2.0.0
8 changes: 8 additions & 0 deletions source/release/note/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
=============
Release Notes
=============

.. toctree::
:maxdepth: 2

2.0.0 <2.0.0>
1 change: 1 addition & 0 deletions source/release/notes/2.0.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Spoofax 2.0.0
8 changes: 8 additions & 0 deletions source/release/notes/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
=============
Release Notes
=============

.. toctree::
:maxdepth: 2

2.0.0 <2.0.0>

0 comments on commit 17d73cb

Please sign in to comment.