diff --git a/Makefile b/Makefile index b94bda33..71a96c12 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ GOLANG_VERSION=1.11.2 # generate documentation. doc: - static-docs --in docs --out public --theme gotenberg --title Gotenberg --subtitle "A Docker-powered stateless API for converting HTML, Markdown and Office documents to PDF." + static-docs --in build/docs --out docs --theme gotenberg --title Gotenberg --subtitle "A Docker-powered stateless API for converting HTML, Markdown and Office documents to PDF." # gofmt and goimports all go files. fmt: diff --git a/README.md b/README.md index ac2fdd8a..c8c7f832 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ $ docker run --rm -p 3000:3000 thecodingmachine/gotenberg:3 The API is now available on your host at `http://localhost:3000`. -Head to the [documentation](https://thecodingmachine.gotenberg.github.io) +Head to the [documentation](https://thecodingmachine.github.io/gotenberg) to learn how to interact with it! ## Badges diff --git a/docs/00-introduction.md b/build/docs/00-introduction.md similarity index 100% rename from docs/00-introduction.md rename to build/docs/00-introduction.md diff --git a/docs/01-install.md b/build/docs/01-install.md similarity index 100% rename from docs/01-install.md rename to build/docs/01-install.md diff --git a/docs/02-html.md b/build/docs/02-html.md similarity index 100% rename from docs/02-html.md rename to build/docs/02-html.md diff --git a/docs/03-markdown.md b/build/docs/03-markdown.md similarity index 100% rename from docs/03-markdown.md rename to build/docs/03-markdown.md diff --git a/docs/04-office.md b/build/docs/04-office.md similarity index 100% rename from docs/04-office.md rename to build/docs/04-office.md diff --git a/docs/05-merge.md b/build/docs/05-merge.md similarity index 100% rename from docs/05-merge.md rename to build/docs/05-merge.md diff --git a/docs/06-webhook.md b/build/docs/06-webhook.md similarity index 100% rename from docs/06-webhook.md rename to build/docs/06-webhook.md diff --git a/docs/07-scalability.md b/build/docs/07-scalability.md similarity index 100% rename from docs/07-scalability.md rename to build/docs/07-scalability.md diff --git a/docs/08-links.md b/build/docs/08-links.md similarity index 100% rename from docs/08-links.md rename to build/docs/08-links.md diff --git a/public/index.html b/docs/index.html similarity index 100% rename from public/index.html rename to docs/index.html diff --git a/public/theme/gotenberg/css/index.css b/docs/theme/gotenberg/css/index.css similarity index 100% rename from public/theme/gotenberg/css/index.css rename to docs/theme/gotenberg/css/index.css diff --git a/public/theme/gotenberg/img/favicon-16x16.png b/docs/theme/gotenberg/img/favicon-16x16.png similarity index 100% rename from public/theme/gotenberg/img/favicon-16x16.png rename to docs/theme/gotenberg/img/favicon-16x16.png diff --git a/public/theme/gotenberg/img/favicon-32x32.png b/docs/theme/gotenberg/img/favicon-32x32.png similarity index 100% rename from public/theme/gotenberg/img/favicon-32x32.png rename to docs/theme/gotenberg/img/favicon-32x32.png diff --git a/public/theme/gotenberg/img/favicon.ico b/docs/theme/gotenberg/img/favicon.ico similarity index 100% rename from public/theme/gotenberg/img/favicon.ico rename to docs/theme/gotenberg/img/favicon.ico diff --git a/public/theme/gotenberg/js/index.js b/docs/theme/gotenberg/js/index.js similarity index 100% rename from public/theme/gotenberg/js/index.js rename to docs/theme/gotenberg/js/index.js diff --git a/public/theme/gotenberg/views/index.html b/docs/theme/gotenberg/views/index.html similarity index 100% rename from public/theme/gotenberg/views/index.html rename to docs/theme/gotenberg/views/index.html diff --git a/pkg/README.md b/pkg/README.md index 145d0307..51c11903 100644 --- a/pkg/README.md +++ b/pkg/README.md @@ -34,4 +34,4 @@ func main() { } ``` -For more complete usages, head to the [documentation](https://thecodingmachine.gotenberg.github.io). \ No newline at end of file +For more complete usages, head to the [documentation](https://thecodingmachine.github.io/gotenberg). \ No newline at end of file