Skip to content

Commit

Permalink
Merge pull request #33 from metaborg/split-lang-spec-and-dev-docs
Browse files Browse the repository at this point in the history
Reorganize documentation to improve menu discoverability
  • Loading branch information
hendrikvanantwerpen committed Apr 14, 2020
2 parents 92e46a0 + ff4b5eb commit d318c6c
Show file tree
Hide file tree
Showing 47 changed files with 40 additions and 24 deletions.
12 changes: 9 additions & 3 deletions index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ The Spoofax Language Workbench
.. toctree::
:hidden:
:maxdepth: 2
:caption: Reference Manual
:caption: Language Definition Reference

source/langdev/meta/lang/tour/index
source/langdev/meta/lang/aterm/index
Expand All @@ -43,9 +43,15 @@ The Spoofax Language Workbench
Transformation with Stratego <source/langdev/meta/lang/stratego/index>
Dynamic Semantics with DynSem <source/langdev/meta/lang/dynsem/index>
Editor Services with ESV <source/langdev/meta/lang/esv>

Language Testing with SPT <source/langdev/meta/lang/spt/index>
Building Languages <source/langdev/manual/index>

.. toctree::
:hidden:
:maxdepth: 2
:caption: Language Development Reference

Build and Develop Languages <source/langdev/build/index>
Configure Languages <source/langdev/config/index>
Running Languages from Command-line <source/sunshine/manual/index>
Programmatic API <source/core/manual/index>
Developing Spoofax <source/dev/index>
Expand Down
4 changes: 2 additions & 2 deletions source/core/manual/service.rst
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ Configuration

Configuration services provide read and write access to project and language component configuration at runtime.

See the :doc:`language development manual on configuration </source/langdev/manual/config>` for documentation about the Spoofax language specification configuration, which is a superset of the language specification, component, and project configuration.
See the :doc:`language development manual on configuration </source/langdev/config/index>` for documentation about the Spoofax language specification configuration, which is a superset of the language specification, component, and project configuration.

.. describe:: Project configuration

Expand Down Expand Up @@ -244,7 +244,7 @@ Configuration
^^^^^^^^^^^^^

Configuration services for language specifications.
See the :doc:`language development manual on configuration </source/langdev/manual/config>` for documentation about the Spoofax language specification configuration.
See the :doc:`language development manual on configuration </source/langdev/config/index>` for documentation about the Spoofax language specification configuration.

.. describe:: Language specification configuration

Expand Down
File renamed without changes.
File renamed without changes.
12 changes: 12 additions & 0 deletions source/langdev/build/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
===================================
Build and Develop Language Projects
===================================

This is the reference manual on build and development tools for Spoofax language development.

.. toctree::
:maxdepth: 2
:numbered:

ci
env/intellij/index
12 changes: 12 additions & 0 deletions source/langdev/config/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
=============================
Configuring Language Projects
=============================

This is the reference manual on configuring Spoofax language projects.

.. toctree::
:maxdepth: 2
:numbered:

reference
language-extension
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
.. highlight:: yaml

=============
Configuration
=============
=======================
Configuration Reference
=======================

Configuration is specified in the :file:`metaborg.yaml` file at the root of the project.

Expand Down
14 changes: 0 additions & 14 deletions source/langdev/manual/index.rst

This file was deleted.

4 changes: 2 additions & 2 deletions source/release/migrate/2.0.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ Unfortunately, not all required conversions can be done automatically. Do the fo
#### Project configuration

Most of the project configuration is now in the <span class='file'>metaborg.yaml</span> file.
The [manual page on configuration](../../langdev/manual/config.rst) lists all configuration options.
The [manual page on configuration](../../langdev/config/reference.md) lists all configuration options.

* Add/remove compile and source dependencies as needed.
* Add build configuration, such as Stratego compiler arguments, SDF compiler arguments, external def files, and external JAR files.
Expand Down Expand Up @@ -279,7 +279,7 @@ build:
target: package-xml
```

See the [manual page on configuration](../../langdev/manual/config.rst) for more information about configuring Ant build steps.
See the [manual page on configuration](../../langdev/config/reference.md) for more information about configuring Ant build steps.

#### Eclipse plugin

Expand Down

0 comments on commit d318c6c

Please sign in to comment.