mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
doc: add a .nojekyll to gh pages and ignore submodules
This commit is contained in:
@@ -112,7 +112,7 @@ Related: <<soft-topics>>.
|
|||||||
|
|
||||||
This setup has been tested on Ubuntu 20.04.
|
This setup has been tested on Ubuntu 20.04.
|
||||||
|
|
||||||
The Buildroot build is already broken on Ubuntu 21.04 onwards: https://github.com/cirosantilli/linux-kernel-module-cheat/issues/155[], just use the <<docker>> setup in that case. We could fix it on Ubuntu 21.04, but it will break again inevitably later on.
|
The Buildroot build is already broken on Ubuntu 21.04 onwards: https://github.com/cirosantilli/linux-kernel-module-cheat/issues/155[], so just do this from inside a 20.04 Docker instead as shown in the <<docker>> setup. We could fix the build on Ubuntu 21.04, but it will break again inevitably later on.
|
||||||
|
|
||||||
For other host operating systems see: xref:supported-hosts[xrefstyle=full].
|
For other host operating systems see: xref:supported-hosts[xrefstyle=full].
|
||||||
|
|
||||||
|
|||||||
@@ -9,10 +9,16 @@ git checkout master -- \
|
|||||||
'*.png' \
|
'*.png' \
|
||||||
_config.yml \
|
_config.yml \
|
||||||
;
|
;
|
||||||
|
touch .nojekyll
|
||||||
|
# submodules are not deleted on checkout.
|
||||||
|
# We should not publish like this, we should make a separate tree,
|
||||||
|
# otherwise files appear and disapear as you publish, which is bad
|
||||||
|
# for editors. But lazy.
|
||||||
|
echo 'submodules' >> .gitignore
|
||||||
cp out/README.html index.html
|
cp out/README.html index.html
|
||||||
cp out/doc/* .
|
cp out/doc/* .
|
||||||
mv README.html index-split.html
|
mv README.html index-split.html
|
||||||
git add .
|
git add .
|
||||||
git commit --message "$(git log -n1 --pretty='%H' master)"
|
git commit --allow-empty --message "$(git log -n1 --pretty='%H' master)"
|
||||||
git push
|
git push -f
|
||||||
git checkout -
|
git checkout -
|
||||||
|
|||||||
Reference in New Issue
Block a user