This is an automated email from the ASF dual-hosted git repository. jleroux pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/trunk by this push: new 50722a6ee6 Fixed: The README.html file is no longer visible on site (OFBIZ-12758) 50722a6ee6 is described below commit 50722a6ee6539c8fa27c2f1da57f7f1d54367843 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 3668a4a974..7bb374dc9c 100644 --- a/build.gradle +++ b/build.gradle @@ -640,7 +640,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/") }