[TM-410] re-arrange indigo tutorial's files for website building

Problem: A website for Indigo needs to be built from its current
tutorial, however the tree structure is not ideal, in particular:
- markdown files for the chapters are organized alonside the source
  code for the examples
- the example modules are tied to the documentation structure
These constitute a problem because we want the documentation's file
tree structure to be independent from the examples and vice-versa.

Solution: move the markdown files in a flat new directory and move
the example modules in a topic-based tree structure.
parent b9863080
......@@ -4,7 +4,7 @@ cabal-version: 2.2
--
-- see: https://github.com/sol/hpack
--
-- hash: 72ab1932a33994bcbda69241da2d82144d97c54ec4f982c3eed0925334c2b182
-- hash: 15ee20c146c6151652dd48bbad911623b446d39950940c768e84c649e95bef23
name: indigo-tutorial
version: 0.1.0.0
......@@ -21,14 +21,6 @@ license-file: LICENSE
build-type: Simple
extra-source-files:
README.md
src/Indigo/Tutorial/T00/index.md
src/Indigo/Tutorial/T01/index.md
src/Indigo/Tutorial/T02/index.md
src/Indigo/Tutorial/T03/index.md
src/Indigo/Tutorial/T04/index.md
src/Indigo/Tutorial/T05/index.md
src/Indigo/Tutorial/AA.md
src/Indigo/Tutorial/AB.md
source-repository head
type: git
......@@ -36,13 +28,13 @@ source-repository head
library
exposed-modules:
Indigo.Tutorial.T00.Example
Indigo.Tutorial.T01.Example
Indigo.Tutorial.T02.Math
Indigo.Tutorial.T03.Control
Indigo.Tutorial.T04.Functions
Indigo.Tutorial.T05.Errors
Indigo.Tutorial.T05.SideEffects
Indigo.Tutorial.Basics.Example
Indigo.Tutorial.Expressions.Math
Indigo.Tutorial.Functions.Functions
Indigo.Tutorial.GettingStarted.Example
Indigo.Tutorial.SideEffects.Errors
Indigo.Tutorial.SideEffects.SideEffects
Indigo.Tutorial.Statements.Control
other-modules:
Paths_indigo_tutorial
autogen-modules:
......
......@@ -15,14 +15,6 @@ description: Tutorial for Indigo eDSL.
category: Language
extra-source-files:
- README.md
- src/Indigo/Tutorial/T00/index.md
- src/Indigo/Tutorial/T01/index.md
- src/Indigo/Tutorial/T02/index.md
- src/Indigo/Tutorial/T03/index.md
- src/Indigo/Tutorial/T04/index.md
- src/Indigo/Tutorial/T05/index.md
- src/Indigo/Tutorial/AA.md
- src/Indigo/Tutorial/AB.md
library:
<<: *indigo-lib-common
......
......@@ -2,7 +2,7 @@
--
-- SPDX-License-Identifier: LicenseRef-MIT-TQ
module Indigo.Tutorial.T01.Example
module Indigo.Tutorial.Basics.Example
( exampleContract
, textKeeper
) where
......
......@@ -2,7 +2,7 @@
--
-- SPDX-License-Identifier: LicenseRef-MIT-TQ
module Indigo.Tutorial.T02.Math
module Indigo.Tutorial.Expressions.Math
( mathContract
) where
......
......@@ -2,7 +2,7 @@
--
-- SPDX-License-Identifier: LicenseRef-MIT-TQ
module Indigo.Tutorial.T04.Functions
module Indigo.Tutorial.Functions.Functions
( functionsContract
) where
......
......@@ -2,7 +2,7 @@
--
-- SPDX-License-Identifier: LicenseRef-MIT-TQ
module Indigo.Tutorial.T00.Example
module Indigo.Tutorial.GettingStarted.Example
( exampleContract
) where
......
......@@ -2,7 +2,7 @@
--
-- SPDX-License-Identifier: LicenseRef-MIT-TQ
module Indigo.Tutorial.T05.Errors
module Indigo.Tutorial.SideEffects.Errors
( errorsContract
) where
......
......@@ -2,7 +2,7 @@
--
-- SPDX-License-Identifier: LicenseRef-MIT-TQ
module Indigo.Tutorial.T05.SideEffects
module Indigo.Tutorial.SideEffects.SideEffects
( sideEffectsContract
, textKeeper
) where
......
......@@ -2,7 +2,7 @@
--
-- SPDX-License-Identifier: LicenseRef-MIT-TQ
module Indigo.Tutorial.T03.Control
module Indigo.Tutorial.Statements.Control
( controlContract
) where
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment