src/doc/commands/templates: move `commands_json` to `json_commands`
authorAlexandre Terrasa <alexandre@moz-code.org>
Fri, 22 Jun 2018 04:05:13 +0000 (00:05 -0400)
committerAlexandre Terrasa <alexandre@moz-code.org>
Fri, 22 Jun 2018 16:54:08 +0000 (12:54 -0400)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

35 files changed:
src/doc/commands/commands_docdown.nit
src/doc/templates/md_commands.nit [moved from src/doc/commands/commands_md.nit with 99% similarity]
src/doc/templates/tests/test_md_commands.nit [moved from src/doc/commands/tests/test_commands_md.nit with 98% similarity]
src/doc/templates/tests/test_md_commands.sav/test_cmd_ancestors.res [moved from src/doc/commands/tests/test_commands_md.sav/test_cmd_ancestors.res with 100% similarity]
src/doc/templates/tests/test_md_commands.sav/test_cmd_call.res [moved from src/doc/commands/tests/test_commands_md.sav/test_cmd_call.res with 100% similarity]
src/doc/templates/tests/test_md_commands.sav/test_cmd_children.res [moved from src/doc/commands/tests/test_commands_md.sav/test_cmd_children.res with 100% similarity]
src/doc/templates/tests/test_md_commands.sav/test_cmd_comment.res [moved from src/doc/commands/tests/test_commands_md.sav/test_cmd_comment.res with 100% similarity]
src/doc/templates/tests/test_md_commands.sav/test_cmd_descendants.res [moved from src/doc/commands/tests/test_commands_md.sav/test_cmd_descendants.res with 100% similarity]
src/doc/templates/tests/test_md_commands.sav/test_cmd_entity.res [moved from src/doc/commands/tests/test_commands_md.sav/test_cmd_entity.res with 100% similarity]
src/doc/templates/tests/test_md_commands.sav/test_cmd_features.res [moved from src/doc/commands/tests/test_commands_md.sav/test_cmd_features.res with 100% similarity]
src/doc/templates/tests/test_md_commands.sav/test_cmd_ini_clone.res [moved from src/doc/commands/tests/test_commands_md.sav/test_cmd_ini_clone.res with 100% similarity]
src/doc/templates/tests/test_md_commands.sav/test_cmd_ini_contrib_file.res [moved from src/doc/commands/tests/test_commands_md.sav/test_cmd_ini_contrib_file.res with 100% similarity]
src/doc/templates/tests/test_md_commands.sav/test_cmd_ini_contrib_file_content.res [moved from src/doc/commands/tests/test_commands_md.sav/test_cmd_ini_contrib_file_content.res with 100% similarity]
src/doc/templates/tests/test_md_commands.sav/test_cmd_ini_contributors.res [moved from src/doc/commands/tests/test_commands_md.sav/test_cmd_ini_contributors.res with 100% similarity]
src/doc/templates/tests/test_md_commands.sav/test_cmd_ini_desc.res [moved from src/doc/commands/tests/test_commands_md.sav/test_cmd_ini_desc.res with 100% similarity]
src/doc/templates/tests/test_md_commands.sav/test_cmd_ini_git.res [moved from src/doc/commands/tests/test_commands_md.sav/test_cmd_ini_git.res with 100% similarity]
src/doc/templates/tests/test_md_commands.sav/test_cmd_ini_issues.res [moved from src/doc/commands/tests/test_commands_md.sav/test_cmd_ini_issues.res with 100% similarity]
src/doc/templates/tests/test_md_commands.sav/test_cmd_ini_license.res [moved from src/doc/commands/tests/test_commands_md.sav/test_cmd_ini_license.res with 100% similarity]
src/doc/templates/tests/test_md_commands.sav/test_cmd_ini_license_file.res [moved from src/doc/commands/tests/test_commands_md.sav/test_cmd_ini_license_file.res with 100% similarity]
src/doc/templates/tests/test_md_commands.sav/test_cmd_ini_license_file_content.res [moved from src/doc/commands/tests/test_commands_md.sav/test_cmd_ini_license_file_content.res with 100% similarity]
src/doc/templates/tests/test_md_commands.sav/test_cmd_ini_maintainer.res [moved from src/doc/commands/tests/test_commands_md.sav/test_cmd_ini_maintainer.res with 100% similarity]
src/doc/templates/tests/test_md_commands.sav/test_cmd_lin.res [moved from src/doc/commands/tests/test_commands_md.sav/test_cmd_lin.res with 100% similarity]
src/doc/templates/tests/test_md_commands.sav/test_cmd_link.res [moved from src/doc/commands/tests/test_commands_md.sav/test_cmd_link.res with 100% similarity]
src/doc/templates/tests/test_md_commands.sav/test_cmd_main_compile.res [moved from src/doc/commands/tests/test_commands_md.sav/test_cmd_main_compile.res with 100% similarity]
src/doc/templates/tests/test_md_commands.sav/test_cmd_mains.res [moved from src/doc/commands/tests/test_commands_md.sav/test_cmd_mains.res with 100% similarity]
src/doc/templates/tests/test_md_commands.sav/test_cmd_man_options.res [moved from src/doc/commands/tests/test_commands_md.sav/test_cmd_man_options.res with 100% similarity]
src/doc/templates/tests/test_md_commands.sav/test_cmd_man_synopsis.res [moved from src/doc/commands/tests/test_commands_md.sav/test_cmd_man_synopsis.res with 100% similarity]
src/doc/templates/tests/test_md_commands.sav/test_cmd_mentities.res [moved from src/doc/commands/tests/test_commands_md.sav/test_cmd_mentities.res with 100% similarity]
src/doc/templates/tests/test_md_commands.sav/test_cmd_new.res [moved from src/doc/commands/tests/test_commands_md.sav/test_cmd_new.res with 100% similarity]
src/doc/templates/tests/test_md_commands.sav/test_cmd_param.res [moved from src/doc/commands/tests/test_commands_md.sav/test_cmd_param.res with 100% similarity]
src/doc/templates/tests/test_md_commands.sav/test_cmd_parents.res [moved from src/doc/commands/tests/test_commands_md.sav/test_cmd_parents.res with 100% similarity]
src/doc/templates/tests/test_md_commands.sav/test_cmd_return.res [moved from src/doc/commands/tests/test_commands_md.sav/test_cmd_return.res with 100% similarity]
src/doc/templates/tests/test_md_commands.sav/test_cmd_search.res [moved from src/doc/commands/tests/test_commands_md.sav/test_cmd_search.res with 100% similarity]
src/doc/templates/tests/test_md_commands.sav/test_cmd_testing.res [moved from src/doc/commands/tests/test_commands_md.sav/test_cmd_testing.res with 100% similarity]
src/doc/term/term.nit

index 1699454..ece9dae 100644 (file)
@@ -15,7 +15,7 @@
 # Doc down related queries
 module commands_docdown
 
-import commands_md
+import templates::md_commands
 import markdown
 
 # Retrieve the MDoc summary
similarity index 99%
rename from src/doc/commands/commands_md.nit
rename to src/doc/templates/md_commands.nit
index f8dee5b..4c004c7 100644 (file)
@@ -13,7 +13,7 @@
 # limitations under the License.
 
 # Render commands results as Markdown
-module commands_md
+module md_commands
 
 import commands_catalog
 import commands_graph
similarity index 98%
rename from src/doc/commands/tests/test_commands_md.nit
rename to src/doc/templates/tests/test_md_commands.nit
index 031e21e..de7d655 100644 (file)
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-module test_commands_md is test
+module test_md_commands is test
 
 import test_commands
 intrude import doc::commands::commands_main
-import doc::commands::commands_md
+import md_commands
 
 class TestCommandsMd
        super TestCommands
index d653969..e23e623 100644 (file)
@@ -16,6 +16,7 @@ module term
 
 import commands::commands_parser
 import templates::term_model
+import templates::md_commands
 
 redef class CommandParser