Feat: refactoring codebase
This commit is contained in:
@@ -9,67 +9,106 @@ pub const DOCS: &[DocEntry] = &[
|
||||
// Getting Started
|
||||
Section("Getting Started"),
|
||||
Topic("Welcome", include_str!("../../docs/welcome.md")),
|
||||
Topic("Moving Around", include_str!("../../docs/navigation.md")),
|
||||
Topic(
|
||||
"Moving Around",
|
||||
include_str!("../../docs/getting-started/navigation.md"),
|
||||
),
|
||||
Topic(
|
||||
"How Does It Work?",
|
||||
include_str!("../../docs/how_it_works.md"),
|
||||
include_str!("../../docs/getting-started/how_it_works.md"),
|
||||
),
|
||||
Topic(
|
||||
"Banks & Patterns",
|
||||
include_str!("../../docs/banks_patterns.md"),
|
||||
include_str!("../../docs/getting-started/banks_patterns.md"),
|
||||
),
|
||||
Topic(
|
||||
"Stage / Commit",
|
||||
include_str!("../../docs/getting-started/staging.md"),
|
||||
),
|
||||
Topic(
|
||||
"Using the Sequencer",
|
||||
include_str!("../../docs/getting-started/grid.md"),
|
||||
),
|
||||
Topic(
|
||||
"Editing a Step",
|
||||
include_str!("../../docs/getting-started/editing.md"),
|
||||
),
|
||||
Topic("Stage / Commit", include_str!("../../docs/staging.md")),
|
||||
Topic("Using the Sequencer", include_str!("../../docs/grid.md")),
|
||||
Topic("Editing a Step", include_str!("../../docs/editing.md")),
|
||||
// Forth fundamentals
|
||||
Section("Forth"),
|
||||
Topic("About Forth", include_str!("../../docs/about_forth.md")),
|
||||
Topic("The Dictionary", include_str!("../../docs/dictionary.md")),
|
||||
Topic("The Stack", include_str!("../../docs/stack.md")),
|
||||
Topic("Creating Words", include_str!("../../docs/definitions.md")),
|
||||
Topic("Control Flow", include_str!("../../docs/control_flow.md")),
|
||||
Topic("The Prelude", include_str!("../../docs/prelude.md")),
|
||||
Topic("Oddities", include_str!("../../docs/oddities.md")),
|
||||
Topic(
|
||||
"About Forth",
|
||||
include_str!("../../docs/forth/about_forth.md"),
|
||||
),
|
||||
Topic(
|
||||
"The Dictionary",
|
||||
include_str!("../../docs/forth/dictionary.md"),
|
||||
),
|
||||
Topic("The Stack", include_str!("../../docs/forth/stack.md")),
|
||||
Topic(
|
||||
"Creating Words",
|
||||
include_str!("../../docs/forth/definitions.md"),
|
||||
),
|
||||
Topic(
|
||||
"Control Flow",
|
||||
include_str!("../../docs/forth/control_flow.md"),
|
||||
),
|
||||
Topic("The Prelude", include_str!("../../docs/forth/prelude.md")),
|
||||
Topic("Oddities", include_str!("../../docs/forth/oddities.md")),
|
||||
// Audio Engine
|
||||
Section("Audio Engine"),
|
||||
Topic("Introduction", include_str!("../../docs/engine_intro.md")),
|
||||
Topic("Settings", include_str!("../../docs/engine_settings.md")),
|
||||
Topic("Sources", include_str!("../../docs/engine_sources.md")),
|
||||
Topic("Samples", include_str!("../../docs/engine_samples.md")),
|
||||
Topic("Wavetables", include_str!("../../docs/engine_wavetable.md")),
|
||||
Topic("Filters", include_str!("../../docs/engine_filters.md")),
|
||||
Topic("Introduction", include_str!("../../docs/engine/intro.md")),
|
||||
Topic("Settings", include_str!("../../docs/engine/settings.md")),
|
||||
Topic("Sources", include_str!("../../docs/engine/sources.md")),
|
||||
Topic("Samples", include_str!("../../docs/engine/samples.md")),
|
||||
Topic(
|
||||
"Wavetables",
|
||||
include_str!("../../docs/engine/wavetable.md"),
|
||||
),
|
||||
Topic("Filters", include_str!("../../docs/engine/filters.md")),
|
||||
Topic(
|
||||
"Modulation",
|
||||
include_str!("../../docs/engine_modulation.md"),
|
||||
include_str!("../../docs/engine/modulation.md"),
|
||||
),
|
||||
Topic(
|
||||
"Distortion",
|
||||
include_str!("../../docs/engine_distortion.md"),
|
||||
include_str!("../../docs/engine/distortion.md"),
|
||||
),
|
||||
Topic("Space & Time", include_str!("../../docs/engine_space.md")),
|
||||
Topic("Space & Time", include_str!("../../docs/engine/space.md")),
|
||||
Topic(
|
||||
"Audio-Rate Mod",
|
||||
include_str!("../../docs/engine_audio_modulation.md"),
|
||||
include_str!("../../docs/engine/audio_modulation.md"),
|
||||
),
|
||||
Topic(
|
||||
"Words & Sounds",
|
||||
include_str!("../../docs/engine/words.md"),
|
||||
),
|
||||
Topic("Words & Sounds", include_str!("../../docs/engine_words.md")),
|
||||
// MIDI
|
||||
Section("MIDI"),
|
||||
Topic("Introduction", include_str!("../../docs/midi_intro.md")),
|
||||
Topic("MIDI Output", include_str!("../../docs/midi_output.md")),
|
||||
Topic("MIDI Input", include_str!("../../docs/midi_input.md")),
|
||||
Topic("Introduction", include_str!("../../docs/midi/intro.md")),
|
||||
Topic("MIDI Output", include_str!("../../docs/midi/output.md")),
|
||||
Topic("MIDI Input", include_str!("../../docs/midi/input.md")),
|
||||
// Tutorials
|
||||
Section("Tutorials"),
|
||||
Topic("Randomness", include_str!("../../docs/tutorial_randomness.md")),
|
||||
Topic(
|
||||
"Randomness",
|
||||
include_str!("../../docs/tutorials/randomness.md"),
|
||||
),
|
||||
Topic(
|
||||
"Notes & Harmony",
|
||||
include_str!("../../docs/tutorial_harmony.md"),
|
||||
include_str!("../../docs/tutorials/harmony.md"),
|
||||
),
|
||||
Topic(
|
||||
"Generators",
|
||||
include_str!("../../docs/tutorial_generators.md"),
|
||||
include_str!("../../docs/tutorials/generators.md"),
|
||||
),
|
||||
Topic(
|
||||
"Timing with at",
|
||||
include_str!("../../docs/tutorials/at.md"),
|
||||
),
|
||||
Topic(
|
||||
"Using Variables",
|
||||
include_str!("../../docs/tutorials/variables.md"),
|
||||
),
|
||||
Topic("Timing with at", include_str!("../../docs/tutorial_at.md")),
|
||||
Topic("Using Variables", include_str!("../../docs/tutorial_variables.md")),
|
||||
];
|
||||
|
||||
pub fn topic_count() -> usize {
|
||||
|
||||
Reference in New Issue
Block a user