Skip to content

Commit

Permalink
added scripts and 404 examples
Browse files Browse the repository at this point in the history
  • Loading branch information
mik-tf committed Mar 29, 2024
1 parent 1012cee commit d8e1a60
Show file tree
Hide file tree
Showing 13 changed files with 27 additions and 14 deletions.
4 changes: 4 additions & 0 deletions mdbook_books/book_1/scripts/first_script.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#! /bin/sh

bash ./mdbook_books/"$@"/scripts/mdbook_script_1.sh
bash ./mdbook_books/"$@"/scripts/mdbook_script_2.sh
3 changes: 3 additions & 0 deletions mdbook_books/book_1/scripts/mdbook_script_1.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env bash

echo "This is the mdbook script 1 from book 1"
3 changes: 3 additions & 0 deletions mdbook_books/book_1/scripts/mdbook_script_2.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env bash

echo "This is the mdbook script 2 from book 1"
4 changes: 4 additions & 0 deletions mdbook_books/book_2/scripts/first_script.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#! /bin/sh

bash ./mdbook_books/"$@"/scripts/mdbook_script_1.sh
bash ./mdbook_books/"$@"/scripts/mdbook_script_2.sh
3 changes: 3 additions & 0 deletions mdbook_books/book_2/scripts/mdbook_script_1.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env bash

echo "This is the mdbook script 1 from book 1"
3 changes: 3 additions & 0 deletions mdbook_books/book_2/scripts/mdbook_script_2.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env bash

echo "This is the mdbook script 2 from book 2"
6 changes: 1 addition & 5 deletions src/404.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
<h1>HTTP ERROR 404</h1>

<h2>This page can’t be found.</h2>

The page you're looking for might have moved somewhere else.

To find the content you're looking for, you can use the search function by clicking on the magnifier button at the top left of the page, or by hitting **'s'** on your keyboard.
<h2>This page can’t be found.</h2>
3 changes: 0 additions & 3 deletions src/example/example_1.md

This file was deleted.

3 changes: 0 additions & 3 deletions src/example/example_2.md

This file was deleted.

3 changes: 0 additions & 3 deletions src/example/example_3.md

This file was deleted.

2 changes: 2 additions & 0 deletions src/examples/example_1.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# Example 1

This is a text from example 1.
2 changes: 2 additions & 0 deletions src/examples/example_2.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# Example 2

This is a text from example 2.
2 changes: 2 additions & 0 deletions src/examples/example_3.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# Example 3

This is a text from example 3.

0 comments on commit d8e1a60

Please sign in to comment.