diff --git a/docs/index.rst b/docs/index.rst index cc3ae39dfdb..0f19a4bf199 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -11,8 +11,8 @@ Welcome to Python3 solutions for codewars problems's documentation! :caption: Contents: readme - kyu_2 - kyu_3 + kyu_2/kyu_2 + kyu_3/kyu_3 kyu_4 kyu_5 kyu_6 diff --git a/docs/kyu_2.evaluate_mathematical_expression.readme.rst b/docs/kyu_2.evaluate_mathematical_expression.readme.rst deleted file mode 100644 index 6fd7ac011bd..00000000000 --- a/docs/kyu_2.evaluate_mathematical_expression.readme.rst +++ /dev/null @@ -1,5 +0,0 @@ -README -====== - -.. include:: ../kyu_2/evaluate_mathematical_expression/README.md - :parser: myst_parser.sphinx_ \ No newline at end of file diff --git a/docs/kyu_2.evaluate_mathematical_expression.module.rst b/docs/kyu_2/kyu_2.evaluate_mathematical_expression.module.rst similarity index 100% rename from docs/kyu_2.evaluate_mathematical_expression.module.rst rename to docs/kyu_2/kyu_2.evaluate_mathematical_expression.module.rst diff --git a/docs/kyu_2/kyu_2.evaluate_mathematical_expression.readme.rst b/docs/kyu_2/kyu_2.evaluate_mathematical_expression.readme.rst new file mode 100644 index 00000000000..096d66c2196 --- /dev/null +++ b/docs/kyu_2/kyu_2.evaluate_mathematical_expression.readme.rst @@ -0,0 +1,5 @@ +README +====== + +.. include:: ../../kyu_2/evaluate_mathematical_expression/README.md + :parser: myst_parser.sphinx_ \ No newline at end of file diff --git a/docs/kyu_2.evaluate_mathematical_expression.rst b/docs/kyu_2/kyu_2.evaluate_mathematical_expression.rst similarity index 100% rename from docs/kyu_2.evaluate_mathematical_expression.rst rename to docs/kyu_2/kyu_2.evaluate_mathematical_expression.rst diff --git a/docs/kyu_2.readme.rst b/docs/kyu_2/kyu_2.readme.rst similarity index 56% rename from docs/kyu_2.readme.rst rename to docs/kyu_2/kyu_2.readme.rst index 683534cd5d0..d75f8b7ceee 100644 --- a/docs/kyu_2.readme.rst +++ b/docs/kyu_2/kyu_2.readme.rst @@ -1,5 +1,5 @@ README ====== -.. include:: ../kyu_2/README.md +.. include:: ../../kyu_2/README.md :parser: myst_parser.sphinx_ \ No newline at end of file diff --git a/docs/kyu_2.rst b/docs/kyu_2/kyu_2.rst similarity index 100% rename from docs/kyu_2.rst rename to docs/kyu_2/kyu_2.rst diff --git a/docs/kyu_3.battleship_field_validator.readme.rst b/docs/kyu_3.battleship_field_validator.readme.rst deleted file mode 100644 index 0776aeff504..00000000000 --- a/docs/kyu_3.battleship_field_validator.readme.rst +++ /dev/null @@ -1,5 +0,0 @@ -README -====== - -.. include:: ../kyu_3/battleship_field_validator/README.md - :parser: myst_parser.sphinx_ \ No newline at end of file diff --git a/docs/kyu_3.line_safari_is_that_a_line.readme.rst b/docs/kyu_3.line_safari_is_that_a_line.readme.rst deleted file mode 100644 index ab771426074..00000000000 --- a/docs/kyu_3.line_safari_is_that_a_line.readme.rst +++ /dev/null @@ -1,5 +0,0 @@ -README -====== - -.. include:: ../kyu_3/line_safari_is_that_a_line/README.md - :parser: myst_parser.sphinx_ \ No newline at end of file diff --git a/docs/kyu_3.make_spiral.readme.rst b/docs/kyu_3.make_spiral.readme.rst deleted file mode 100644 index 80e7a91b575..00000000000 --- a/docs/kyu_3.make_spiral.readme.rst +++ /dev/null @@ -1,5 +0,0 @@ -README -====== - -.. include:: ../kyu_3/make_spiral/README.md - :parser: myst_parser.sphinx_ \ No newline at end of file diff --git a/docs/kyu_3.rail_fence_cipher_encoding_and_decoding.readme.rst b/docs/kyu_3.rail_fence_cipher_encoding_and_decoding.readme.rst deleted file mode 100644 index 045aa7a2ed0..00000000000 --- a/docs/kyu_3.rail_fence_cipher_encoding_and_decoding.readme.rst +++ /dev/null @@ -1,5 +0,0 @@ -README -====== - -.. include:: ../kyu_3/rail_fence_cipher_encoding_and_decoding/README.md - :parser: myst_parser.sphinx_ \ No newline at end of file diff --git a/docs/kyu_3.battleship_field_validator.module.rst b/docs/kyu_3/kyu_3.battleship_field_validator.module.rst similarity index 100% rename from docs/kyu_3.battleship_field_validator.module.rst rename to docs/kyu_3/kyu_3.battleship_field_validator.module.rst diff --git a/docs/kyu_3/kyu_3.battleship_field_validator.readme.rst b/docs/kyu_3/kyu_3.battleship_field_validator.readme.rst new file mode 100644 index 00000000000..54ccb439a95 --- /dev/null +++ b/docs/kyu_3/kyu_3.battleship_field_validator.readme.rst @@ -0,0 +1,5 @@ +README +====== + +.. include:: ../../kyu_3/battleship_field_validator/README.md + :parser: myst_parser.sphinx_ \ No newline at end of file diff --git a/docs/kyu_3.battleship_field_validator.rst b/docs/kyu_3/kyu_3.battleship_field_validator.rst similarity index 100% rename from docs/kyu_3.battleship_field_validator.rst rename to docs/kyu_3/kyu_3.battleship_field_validator.rst diff --git a/docs/kyu_3.calculator.module.rst b/docs/kyu_3/kyu_3.calculator.module.rst similarity index 100% rename from docs/kyu_3.calculator.module.rst rename to docs/kyu_3/kyu_3.calculator.module.rst diff --git a/docs/kyu_3.calculator.readme.rst b/docs/kyu_3/kyu_3.calculator.readme.rst similarity index 50% rename from docs/kyu_3.calculator.readme.rst rename to docs/kyu_3/kyu_3.calculator.readme.rst index fce496a2c63..3ff802e1826 100644 --- a/docs/kyu_3.calculator.readme.rst +++ b/docs/kyu_3/kyu_3.calculator.readme.rst @@ -1,5 +1,5 @@ README ====== -.. include:: ../kyu_3/calculator/README.md +.. include:: ../../kyu_3/calculator/README.md :parser: myst_parser.sphinx_ \ No newline at end of file diff --git a/docs/kyu_3.calculator.rst b/docs/kyu_3/kyu_3.calculator.rst similarity index 100% rename from docs/kyu_3.calculator.rst rename to docs/kyu_3/kyu_3.calculator.rst diff --git a/docs/kyu_3.line_safari_is_that_a_line.module.rst b/docs/kyu_3/kyu_3.line_safari_is_that_a_line.module.rst similarity index 100% rename from docs/kyu_3.line_safari_is_that_a_line.module.rst rename to docs/kyu_3/kyu_3.line_safari_is_that_a_line.module.rst diff --git a/docs/kyu_3/kyu_3.line_safari_is_that_a_line.readme.rst b/docs/kyu_3/kyu_3.line_safari_is_that_a_line.readme.rst new file mode 100644 index 00000000000..d65ee34c2a9 --- /dev/null +++ b/docs/kyu_3/kyu_3.line_safari_is_that_a_line.readme.rst @@ -0,0 +1,5 @@ +README +====== + +.. include:: ../../kyu_3/line_safari_is_that_a_line/README.md + :parser: myst_parser.sphinx_ \ No newline at end of file diff --git a/docs/kyu_3.line_safari_is_that_a_line.rst b/docs/kyu_3/kyu_3.line_safari_is_that_a_line.rst similarity index 100% rename from docs/kyu_3.line_safari_is_that_a_line.rst rename to docs/kyu_3/kyu_3.line_safari_is_that_a_line.rst diff --git a/docs/kyu_3.make_spiral.module.rst b/docs/kyu_3/kyu_3.make_spiral.module.rst similarity index 100% rename from docs/kyu_3.make_spiral.module.rst rename to docs/kyu_3/kyu_3.make_spiral.module.rst diff --git a/docs/kyu_3/kyu_3.make_spiral.readme.rst b/docs/kyu_3/kyu_3.make_spiral.readme.rst new file mode 100644 index 00000000000..c199c88b47b --- /dev/null +++ b/docs/kyu_3/kyu_3.make_spiral.readme.rst @@ -0,0 +1,5 @@ +README +====== + +.. include:: ../../kyu_3/make_spiral/README.md + :parser: myst_parser.sphinx_ \ No newline at end of file diff --git a/docs/kyu_3.make_spiral.rst b/docs/kyu_3/kyu_3.make_spiral.rst similarity index 100% rename from docs/kyu_3.make_spiral.rst rename to docs/kyu_3/kyu_3.make_spiral.rst diff --git a/docs/kyu_3.rail_fence_cipher_encoding_and_decoding.module.rst b/docs/kyu_3/kyu_3.rail_fence_cipher_encoding_and_decoding.module.rst similarity index 100% rename from docs/kyu_3.rail_fence_cipher_encoding_and_decoding.module.rst rename to docs/kyu_3/kyu_3.rail_fence_cipher_encoding_and_decoding.module.rst diff --git a/docs/kyu_3/kyu_3.rail_fence_cipher_encoding_and_decoding.readme.rst b/docs/kyu_3/kyu_3.rail_fence_cipher_encoding_and_decoding.readme.rst new file mode 100644 index 00000000000..34dbabe481a --- /dev/null +++ b/docs/kyu_3/kyu_3.rail_fence_cipher_encoding_and_decoding.readme.rst @@ -0,0 +1,5 @@ +README +====== + +.. include:: ../../kyu_3/rail_fence_cipher_encoding_and_decoding/README.md + :parser: myst_parser.sphinx_ \ No newline at end of file diff --git a/docs/kyu_3.rail_fence_cipher_encoding_and_decoding.rst b/docs/kyu_3/kyu_3.rail_fence_cipher_encoding_and_decoding.rst similarity index 100% rename from docs/kyu_3.rail_fence_cipher_encoding_and_decoding.rst rename to docs/kyu_3/kyu_3.rail_fence_cipher_encoding_and_decoding.rst diff --git a/docs/kyu_3.readme.rst b/docs/kyu_3/kyu_3.readme.rst similarity index 56% rename from docs/kyu_3.readme.rst rename to docs/kyu_3/kyu_3.readme.rst index 0608f71ff4d..88da00e65fd 100644 --- a/docs/kyu_3.readme.rst +++ b/docs/kyu_3/kyu_3.readme.rst @@ -1,5 +1,5 @@ README ====== -.. include:: ../kyu_3/README.md +.. include:: ../../kyu_3/README.md :parser: myst_parser.sphinx_ \ No newline at end of file diff --git a/docs/kyu_3.rst b/docs/kyu_3/kyu_3.rst similarity index 100% rename from docs/kyu_3.rst rename to docs/kyu_3/kyu_3.rst diff --git a/docs/kyu_5.alphabet_wars_nuclear_strike.module.rst b/docs/kyu_5.alphabet_wars_nuclear_strike.module.rst new file mode 100644 index 00000000000..d5503f66e64 --- /dev/null +++ b/docs/kyu_5.alphabet_wars_nuclear_strike.module.rst @@ -0,0 +1,11 @@ +kyu\_5.alphabet\_wars\_nuclear\_strike.module module +==================================================== + +Subpackages +----------- + +.. toctree:: + :maxdepth: 4 + + kyu_5.alphabet_wars_nuclear_strike.readme + kyu_5.alphabet_wars_nuclear_strike \ No newline at end of file diff --git a/docs/kyu_5.alphabet_wars_nuclear_strike.readme.rst b/docs/kyu_5.alphabet_wars_nuclear_strike.readme.rst new file mode 100644 index 00000000000..775868558f5 --- /dev/null +++ b/docs/kyu_5.alphabet_wars_nuclear_strike.readme.rst @@ -0,0 +1,5 @@ +README +====== + +.. include:: ../kyu_5/alphabet_wars_nuclear_strike/README.md + :parser: myst_parser.sphinx_ \ No newline at end of file diff --git a/docs/kyu_5.count_ip_addresses.module.rst b/docs/kyu_5.count_ip_addresses.module.rst new file mode 100644 index 00000000000..c3337cb84bb --- /dev/null +++ b/docs/kyu_5.count_ip_addresses.module.rst @@ -0,0 +1,11 @@ +kyu\_5.count\_ip\_addresses.module module +========================================= + +Subpackages +----------- + +.. toctree:: + :maxdepth: 4 + + kyu_5.count_ip_addresses.readme + kyu_5.count_ip_addresses \ No newline at end of file diff --git a/docs/kyu_5.count_ip_addresses.readme.rst b/docs/kyu_5.count_ip_addresses.readme.rst new file mode 100644 index 00000000000..a3c82ea3c0a --- /dev/null +++ b/docs/kyu_5.count_ip_addresses.readme.rst @@ -0,0 +1,5 @@ +README +====== + +.. include:: ../kyu_5/count_ip_addresses/README.md + :parser: myst_parser.sphinx_ \ No newline at end of file diff --git a/docs/kyu_5.rst b/docs/kyu_5.rst index b29b1c5ae10..c585599a747 100644 --- a/docs/kyu_5.rst +++ b/docs/kyu_5.rst @@ -8,8 +8,8 @@ Subpackages :maxdepth: 4 kyu_5.readme - kyu_5.alphabet_wars_nuclear_strike - kyu_5.count_ip_addresses + kyu_5.alphabet_wars_nuclear_strike.module + kyu_5.count_ip_addresses.module kyu_5.did_i_finish_my_sudoku kyu_5.diophantine_equation kyu_5.directions_reduction