Skip to content

Commit 09f8bab

Browse files
committed
mimic phrasea /doc dir, + some translation & order as example.
1 parent a30176e commit 09f8bab

40 files changed

+31
-35039
lines changed

databox/api/Command/DocumentationDumperCommand.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,14 @@ protected function execute(InputInterface $input, OutputInterface $output): int
2323
$destination = Path::join(__DIR__, '../doc');
2424

2525
$filesystem->copy("$source/Databox-api_dynamic.md", "$destination/Databox-api_dynamic.md", true);
26-
$filesystem->mirror("$source/Databox/Api/", "$destination/Databox/Api/");
27-
$filesystem->mirror("$source/Databox/Attributes/", "$destination/Databox/Attributes/");
28-
$filesystem->mirror("$source/Databox/Renditions/", "$destination/Databox/Renditions/");
26+
$filesystem->mirror("$source/Api/", "$destination/Api/");
27+
$filesystem->mirror("$source/Attributes/", "$destination/Attributes/");
28+
$filesystem->mirror("$source/Renditions/", "$destination/Renditions/");
2929

3030
file_put_contents(Path::join($destination, 'STAMP.md'), date(DATE_ATOM));
3131

3232
$output->writeln("databox-api/doc dynamic files generated");
3333

3434
return Command::SUCCESS;
3535
}
36-
3736
}
File renamed without changes.

databox/api/_preGeneratedDoc/Databox/Attributes/initial_attribute_values.md renamed to databox/api/_preGeneratedDoc/Attributes/initial_attribute_values.md

File renamed without changes.
Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1-
This file `Databox.api_dynamic.md` has been generated in `/databox/api/doc/` by the `DocumentationDumper` command.
1+
## databox-api dynamic generated files
22

3-
The command also generates a `Databox` subdirectory in the same place.
3+
This file was found in the subdirectory `Databox/`
4+
of the `/doc/` directory of the `databox-api-php` image.
5+
6+
It has been generated by the `DocumentationDumper` command during the build of the image.
7+
8+
The command also generated a `Api`, `Attributes` and `Renditions` subdirectory in the same place.

databox/api/_preGeneratedDoc/Databox/Renditions/rendition_factory.md renamed to databox/api/_preGeneratedDoc/Renditions/rendition_factory.md

File renamed without changes.

databox/api/doc/Databox-api_static.md

Lines changed: 0 additions & 4 deletions
This file was deleted.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Databox-api_static.md
2+
This file was found in the directory `doc/foo/bar/` of the `databox-api-php` image.
3+
4+
The `doc` directory also contain
5+
dirs/files created by the `DocumentationDumper` command
6+
during the build of the image.

databox/api/mdFile/Databox/Api/schema.json

Lines changed: 0 additions & 32942 deletions
This file was deleted.

databox/api/mdFile/Databox/Attributes/initial_attribute_values.md

Lines changed: 0 additions & 350 deletions
This file was deleted.

0 commit comments

Comments
 (0)