This is an automated email from the ASF dual-hosted git repository. zregvart pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-website.git
The following commit(s) were added to refs/heads/master by this push: new ce9bdc6 chore: multiple static resources ce9bdc6 is described below commit ce9bdc6474dd8ae5f5fab6c520f133c52255ed14 Author: Zoran Regvart <zregv...@apache.org> AuthorDate: Thu Jul 11 14:00:16 2019 +0200 chore: multiple static resources This configures two static resources the `static` - which contains the `.htaccess` file and `documentation` - which will be populated by Antora when built. Now the clean build of Antora won't delete the `static/.htaccess` file. --- .gitignore | 3 +-- config.toml | 1 + site.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 86d023a..c2009f4 100644 --- a/.gitignore +++ b/.gitignore @@ -2,8 +2,7 @@ node target node_modules public -static/* -!**/.htaccess +documentation .idea *.iml diff --git a/config.toml b/config.toml index 2e541f5..ca7263a 100644 --- a/config.toml +++ b/config.toml @@ -3,6 +3,7 @@ languageCode = "en-us" title = "Apache Camel" relativeURLs = true disablePathToLower = true +staticDir = ["static", "documentation"] [[menu.main]] name = "Home" diff --git a/site.yml b/site.yml index a0071b8..dc68bba 100644 --- a/site.yml +++ b/site.yml @@ -23,4 +23,4 @@ urls: redirect_facility: disabled output: - dir: ./static + dir: ./documentation