This is an automated email from the ASF dual-hosted git repository. jleroux pushed a commit to branch release22.01 in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/release22.01 by this push: new f897b2842d Fixed: The README.html file is no longer visible on site (OFBIZ-12758) f897b2842d is described below commit f897b2842da5398703d29c52dbc979cdc4c07ffd Author: Jacques Le Roux <jacques.le.r...@les7arts.com> AuthorDate: Thu Feb 23 09:22:05 2023 +0100 Fixed: The README.html file is no longer visible on site (OFBIZ-12758) Actually fixed by (INFRA-24225): "You can add a .htaccess to override the global ReadMeName /README.html directive" Thanks: Chris Lambertus --- .htaccess | 4 ++++ build.gradle | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000000..2e59dcf2a8 --- /dev/null +++ b/.htaccess @@ -0,0 +1,4 @@ + <files rREADME.html> + order allow,deny + allow from all +</files> \ No newline at end of file diff --git a/build.gradle b/build.gradle index baad159d10..0d38fc7685 100644 --- a/build.gradle +++ b/build.gradle @@ -624,7 +624,7 @@ task generateReadmeFiles(group: docsGroup, type: AsciidoctorTask) { description 'Generate OFBiz README files' sourceDir "${rootDir}" sources { - include 'README.adoc', 'CHANGELOG.adoc', 'CONTRIBUTING.adoc' + include 'README.adoc', 'CHANGELOG.adoc', 'CONTRIBUTING.adoc', '.htaccess' } outputDir file("${buildDir}/asciidoc/readme/") }