This is an automated email from the ASF dual-hosted git repository.
janc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-site.git
The following commit(s) were added to refs/heads/master by this push:
new 086d59418d adjust build.py
086d59418d is described below
commit 086d59418d274d14014b049f8e412934f8f50c74
Author: Piotr Narajowski <[email protected]>
AuthorDate: Tue Apr 15 10:23:05 2025 +0200
adjust build.py
Adjust build.py so that .htaccess file gets copied into /site directory
---
build.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/build.py b/build.py
index e980719142..159927ca05 100755
--- a/build.py
+++ b/build.py
@@ -119,6 +119,7 @@ def build(cwd, site_dir):
generate_supported_boards("custom-theme/supported-boards.html", bsps)
sh.mkdocs('build', '--clean', '--site-dir', site_dir)
+ sh.cp(cwd + '/.htaccess', site_dir)
for version in cfg['extra']['versions']:
print("Building doc pages for: {}".format(version['label']))