diff --git a/mkdocs.production.yml b/mkdocs.production.yml index 5bbadc9..3401fda 100644 --- a/mkdocs.production.yml +++ b/mkdocs.production.yml @@ -1,74 +1,5 @@ +INHERIT: ./mkdocs.shared.yml site_name: Datasync Community Toolkit site_url: https://CommunityToolkit.github.io/Datasync/ repo_url: https://github.com/CommunityToolkit/Datasync/ repo_name: GitHub - -theme: - name: readthedocs - highlightjs: true - locale: en - -validation: - omitted_files: warn - absolute_links: warn - unrecognized_links: warn - anchors: warn - -markdown_extensions: - - smarty: {} - - toc: - permalink: "#" - - sane_lists: {} - - fenced_code: {} - - tables: {} - - admonition: {} - - pymdownx.superfences: - custom_fences: - - name: mermaid - class: mermaid - format: !!python/name: mermaid2.fence_mermaid_custom - -plugins: - - search - - mermaid2 - -nav: - - Getting started: index.md - - Tutorial: - - Server: - - "The basics": tutorial/server/part-1.md - - "Standard repositories": tutorial/server/part-2.md - - "Custom repositories": tutorial/server/part-3.md - - "Access control": tutorial/server/part-4.md - - "Real-time updates": tutorial/server/part-5.md - - In depth: - - Server: - - The basics: in-depth/server/index.md - - Databases: - - Azure SQL: in-depth/server/db/azuresql.md - - Cosmos: in-depth/server/db/cosmos.md - - In Memory: in-depth/server/db/in-memory.md - - LiteDb: in-depth/server/db/litedb.md - - MongoDb: in-depth/server/db/mongodb.md - - MySQL: in-depth/server/db/mysql.md - - PgSQL: in-depth/server/db/pgsql.md - - SQLite: in-depth/server/db/sqlite.md - - OpenApi: - - NSwag: in-depth/server/openapi/nswag.md - - Swashbuckle: in-depth/server/openapi/swashbuckle.md - - ".NET 9.x": in-depth/server/openapi/net9.md - - Client: - - The basics: in-depth/client/index.md - - Authentication: in-depth/client/auth.md - - Online operations: in-depth/client/online.md - - Advanced topics: - - MAUI AOT: in-depth/client/advanced/maui-aot.md - - Samples: - - Todo App: - - The server: samples/todoapp/server.md - - Avalonia: samples/todoapp/avalonia.md - - MAUI: samples/todoapp/maui.md - - WinUI3: samples/todoapp/winui3.md - - WPF: samples/todoapp/wpf.md - - diff --git a/mkdocs.shared.yml b/mkdocs.shared.yml new file mode 100644 index 0000000..6c6dcb1 --- /dev/null +++ b/mkdocs.shared.yml @@ -0,0 +1,63 @@ +theme: + name: readthedocs + highlightjs: true + locale: en + +validation: + omitted_files: warn + absolute_links: warn + unrecognized_links: warn + anchors: warn + +plugins: + - search + - mermaid2 + +markdown_extensions: + - smarty: {} + - toc: + permalink: "#" + - sane_lists: {} + - fenced_code: {} + - tables: {} + - admonition: {} + - pymdownx.superfences: {} + +nav: + - Getting started: index.md + - Tutorial: + - Server: + - "The basics": tutorial/server/part-1.md + - "Standard repositories": tutorial/server/part-2.md + - "Custom repositories": tutorial/server/part-3.md + - "Access control": tutorial/server/part-4.md + - "Real-time updates": tutorial/server/part-5.md + - In depth: + - Server: + - The basics: in-depth/server/index.md + - Databases: + - Azure SQL: in-depth/server/db/azuresql.md + - Cosmos: in-depth/server/db/cosmos.md + - In Memory: in-depth/server/db/in-memory.md + - LiteDb: in-depth/server/db/litedb.md + - MongoDb: in-depth/server/db/mongodb.md + - MySQL: in-depth/server/db/mysql.md + - PgSQL: in-depth/server/db/pgsql.md + - SQLite: in-depth/server/db/sqlite.md + - OpenApi: + - NSwag: in-depth/server/openapi/nswag.md + - Swashbuckle: in-depth/server/openapi/swashbuckle.md + - ".NET 9.x": in-depth/server/openapi/net9.md + - Client: + - The basics: in-depth/client/index.md + - Authentication: in-depth/client/auth.md + - Online operations: in-depth/client/online.md + - Advanced topics: + - MAUI AOT: in-depth/client/advanced/maui-aot.md + - Samples: + - Todo App: + - The server: samples/todoapp/server.md + - Avalonia: samples/todoapp/avalonia.md + - MAUI: samples/todoapp/maui.md + - WinUI3: samples/todoapp/winui3.md + - WPF: samples/todoapp/wpf.md diff --git a/mkdocs.yml b/mkdocs.yml index c00e7e1..9fec39a 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -1,66 +1,3 @@ +INHERIT: ./mkdocs.shared.yml site_name: Datasync Community Toolkit dev_addr: localhost:7000 - -theme: - name: readthedocs - highlightjs: true - locale: en - -validation: - omitted_files: warn - absolute_links: warn - unrecognized_links: warn - anchors: warn - -markdown_extensions: - - smarty: {} - - toc: - permalink: "#" - - sane_lists: {} - - fenced_code: {} - - tables: {} - - admonition: {} - - pymdownx.superfences: {} - -plugins: - - search - - mermaid2 - -nav: - - Getting started: index.md - - Tutorial: - - Server: - - "The basics": tutorial/server/part-1.md - - "Standard repositories": tutorial/server/part-2.md - - "Custom repositories": tutorial/server/part-3.md - - "Access control": tutorial/server/part-4.md - - "Real-time updates": tutorial/server/part-5.md - - In depth: - - Server: - - The basics: in-depth/server/index.md - - Databases: - - Azure SQL: in-depth/server/db/azuresql.md - - Cosmos: in-depth/server/db/cosmos.md - - In Memory: in-depth/server/db/in-memory.md - - LiteDb: in-depth/server/db/litedb.md - - MongoDb: in-depth/server/db/mongodb.md - - MySQL: in-depth/server/db/mysql.md - - PgSQL: in-depth/server/db/pgsql.md - - SQLite: in-depth/server/db/sqlite.md - - OpenApi: - - NSwag: in-depth/server/openapi/nswag.md - - Swashbuckle: in-depth/server/openapi/swashbuckle.md - - ".NET 9.x": in-depth/server/openapi/net9.md - - Client: - - The basics: in-depth/client/index.md - - Authentication: in-depth/client/auth.md - - Online operations: in-depth/client/online.md - - Advanced topics: - - MAUI AOT: in-depth/client/advanced/maui-aot.md - - Samples: - - Todo App: - - The server: samples/todoapp/server.md - - Avalonia: samples/todoapp/avalonia.md - - MAUI: samples/todoapp/maui.md - - WinUI3: samples/todoapp/winui3.md - - WPF: samples/todoapp/wpf.md