diff --git a/storage/documentation/artisan/commands.md b/bundles/docs/pages/artisan/commands.md similarity index 100% rename from storage/documentation/artisan/commands.md rename to bundles/docs/pages/artisan/commands.md diff --git a/storage/documentation/artisan/tasks.md b/bundles/docs/pages/artisan/tasks.md similarity index 100% rename from storage/documentation/artisan/tasks.md rename to bundles/docs/pages/artisan/tasks.md diff --git a/storage/documentation/auth/config.md b/bundles/docs/pages/auth/config.md similarity index 100% rename from storage/documentation/auth/config.md rename to bundles/docs/pages/auth/config.md diff --git a/storage/documentation/auth/usage.md b/bundles/docs/pages/auth/usage.md similarity index 100% rename from storage/documentation/auth/usage.md rename to bundles/docs/pages/auth/usage.md diff --git a/storage/documentation/bundles.md b/bundles/docs/pages/bundles.md similarity index 100% rename from storage/documentation/bundles.md rename to bundles/docs/pages/bundles.md diff --git a/storage/documentation/cache/config.md b/bundles/docs/pages/cache/config.md similarity index 100% rename from storage/documentation/cache/config.md rename to bundles/docs/pages/cache/config.md diff --git a/storage/documentation/cache/usage.md b/bundles/docs/pages/cache/usage.md similarity index 100% rename from storage/documentation/cache/usage.md rename to bundles/docs/pages/cache/usage.md diff --git a/storage/documentation/changes.md b/bundles/docs/pages/changes.md similarity index 100% rename from storage/documentation/changes.md rename to bundles/docs/pages/changes.md diff --git a/storage/documentation/config.md b/bundles/docs/pages/config.md similarity index 100% rename from storage/documentation/config.md rename to bundles/docs/pages/config.md diff --git a/storage/documentation/contents.md b/bundles/docs/pages/contents.md similarity index 100% rename from storage/documentation/contents.md rename to bundles/docs/pages/contents.md diff --git a/storage/documentation/controllers.md b/bundles/docs/pages/controllers.md similarity index 100% rename from storage/documentation/controllers.md rename to bundles/docs/pages/controllers.md diff --git a/storage/documentation/database/config.md b/bundles/docs/pages/database/config.md similarity index 100% rename from storage/documentation/database/config.md rename to bundles/docs/pages/database/config.md diff --git a/storage/documentation/database/eloquent.md b/bundles/docs/pages/database/eloquent.md similarity index 100% rename from storage/documentation/database/eloquent.md rename to bundles/docs/pages/database/eloquent.md diff --git a/storage/documentation/database/fluent.md b/bundles/docs/pages/database/fluent.md similarity index 100% rename from storage/documentation/database/fluent.md rename to bundles/docs/pages/database/fluent.md diff --git a/storage/documentation/database/migrations.md b/bundles/docs/pages/database/migrations.md similarity index 100% rename from storage/documentation/database/migrations.md rename to bundles/docs/pages/database/migrations.md diff --git a/storage/documentation/database/raw.md b/bundles/docs/pages/database/raw.md similarity index 100% rename from storage/documentation/database/raw.md rename to bundles/docs/pages/database/raw.md diff --git a/storage/documentation/database/redis.md b/bundles/docs/pages/database/redis.md similarity index 100% rename from storage/documentation/database/redis.md rename to bundles/docs/pages/database/redis.md diff --git a/storage/documentation/database/schema.md b/bundles/docs/pages/database/schema.md similarity index 100% rename from storage/documentation/database/schema.md rename to bundles/docs/pages/database/schema.md diff --git a/storage/documentation/encryption.md b/bundles/docs/pages/encryption.md similarity index 100% rename from storage/documentation/encryption.md rename to bundles/docs/pages/encryption.md diff --git a/storage/documentation/events.md b/bundles/docs/pages/events.md similarity index 100% rename from storage/documentation/events.md rename to bundles/docs/pages/events.md diff --git a/storage/documentation/files.md b/bundles/docs/pages/files.md similarity index 100% rename from storage/documentation/files.md rename to bundles/docs/pages/files.md diff --git a/storage/documentation/home.md b/bundles/docs/pages/home.md similarity index 100% rename from storage/documentation/home.md rename to bundles/docs/pages/home.md diff --git a/storage/documentation/input.md b/bundles/docs/pages/input.md similarity index 100% rename from storage/documentation/input.md rename to bundles/docs/pages/input.md diff --git a/storage/documentation/install.md b/bundles/docs/pages/install.md similarity index 100% rename from storage/documentation/install.md rename to bundles/docs/pages/install.md diff --git a/storage/documentation/ioc.md b/bundles/docs/pages/ioc.md similarity index 100% rename from storage/documentation/ioc.md rename to bundles/docs/pages/ioc.md diff --git a/storage/documentation/loading.md b/bundles/docs/pages/loading.md similarity index 100% rename from storage/documentation/loading.md rename to bundles/docs/pages/loading.md diff --git a/storage/documentation/localization.md b/bundles/docs/pages/localization.md similarity index 100% rename from storage/documentation/localization.md rename to bundles/docs/pages/localization.md diff --git a/storage/documentation/logging.md b/bundles/docs/pages/logging.md similarity index 100% rename from storage/documentation/logging.md rename to bundles/docs/pages/logging.md diff --git a/storage/documentation/models.md b/bundles/docs/pages/models.md similarity index 100% rename from storage/documentation/models.md rename to bundles/docs/pages/models.md diff --git a/storage/documentation/requests.md b/bundles/docs/pages/requests.md similarity index 100% rename from storage/documentation/requests.md rename to bundles/docs/pages/requests.md diff --git a/storage/documentation/routing.md b/bundles/docs/pages/routing.md similarity index 100% rename from storage/documentation/routing.md rename to bundles/docs/pages/routing.md diff --git a/storage/documentation/session/config.md b/bundles/docs/pages/session/config.md similarity index 100% rename from storage/documentation/session/config.md rename to bundles/docs/pages/session/config.md diff --git a/storage/documentation/session/usage.md b/bundles/docs/pages/session/usage.md similarity index 100% rename from storage/documentation/session/usage.md rename to bundles/docs/pages/session/usage.md diff --git a/storage/documentation/strings.md b/bundles/docs/pages/strings.md similarity index 100% rename from storage/documentation/strings.md rename to bundles/docs/pages/strings.md diff --git a/storage/documentation/testing.md b/bundles/docs/pages/testing.md similarity index 100% rename from storage/documentation/testing.md rename to bundles/docs/pages/testing.md diff --git a/storage/documentation/urls.md b/bundles/docs/pages/urls.md similarity index 100% rename from storage/documentation/urls.md rename to bundles/docs/pages/urls.md diff --git a/storage/documentation/validation.md b/bundles/docs/pages/validation.md similarity index 100% rename from storage/documentation/validation.md rename to bundles/docs/pages/validation.md diff --git a/storage/documentation/views/assets.md b/bundles/docs/pages/views/assets.md similarity index 100% rename from storage/documentation/views/assets.md rename to bundles/docs/pages/views/assets.md diff --git a/storage/documentation/views/forms.md b/bundles/docs/pages/views/forms.md similarity index 100% rename from storage/documentation/views/forms.md rename to bundles/docs/pages/views/forms.md diff --git a/storage/documentation/views/home.md b/bundles/docs/pages/views/home.md similarity index 100% rename from storage/documentation/views/home.md rename to bundles/docs/pages/views/home.md diff --git a/storage/documentation/views/html.md b/bundles/docs/pages/views/html.md similarity index 100% rename from storage/documentation/views/html.md rename to bundles/docs/pages/views/html.md diff --git a/storage/documentation/views/pagination.md b/bundles/docs/pages/views/pagination.md similarity index 100% rename from storage/documentation/views/pagination.md rename to bundles/docs/pages/views/pagination.md diff --git a/storage/documentation/views/templating.md b/bundles/docs/pages/views/templating.md similarity index 100% rename from storage/documentation/views/templating.md rename to bundles/docs/pages/views/templating.md diff --git a/bundles/docs/routes.php b/bundles/docs/routes.php index 184656cc..30812899 100644 --- a/bundles/docs/routes.php +++ b/bundles/docs/routes.php @@ -13,7 +13,7 @@ */ function document($page) { - return Markdown(file_get_contents(path('storage').'documentation/'.$page.'.md')); + return Markdown(file_get_contents(__DIR__.'/pages/'.$page.'.md')); } /** @@ -24,7 +24,7 @@ function document($page) */ function document_exists($page) { - return file_exists(path('storage').'documentation/'.$page.'.md'); + return file_exists(__DIR__.'/pages/'.$page.'.md'); } /**