-
Clean the trash:
rm -rf ~/.local/share/Trash/*
-
Update the system:
sudo apt update
-
Install the dependencies:
sudo apt install -y git python3-pip python3-venv zip
-
Create the clones directory:
mkdir ~/clones -
Navigate to the clones directory:
cd clones -
Clone the repositories as siblings:
git clone https://github.com/autokey/autokey.git && git clone https://github.com/autokey/autokey.github.io.git...or...
git clone https://github.com/autokey/autokey.git && git clone --branch develop --single-branch https://github.com/autokey/autokey.github.io.git -
Create a venv:
python3 -m venv --system-site-packages .venv
-
Activate the venv:
source .venv/bin/activate -
Navigate to the documentation directory:
cd autokey.github.io -
Install the core packages:
pip install pyasyncore pyinotify python-xlib -r requirements.txt
-
Generate the local documentation:
make clean html
-
Check the links:
make linkcheck
-
Preview the documentation in your browser:
xdg-open _build/html/index.html 2>/dev/null -
See if everything was excluded properly:
sphinx-build -b dummy . _build/dummy -vvv | grep -i "considering"
- You pass the test if:
- No .DS_Store files show up as considering.
- No Thumbs.db files show up as considering.
- No autokey/ files show up.
- No guides/ files show up.
- You pass the test if:
-
Navigate to your home directory:
cd -
Activate the venv:
deactivate
-
Delete the clones directory:
rm -rf ~/clones/
Created
June 2, 2026 03:42
-
-
Save Elliria/80aacfacb16a218b37f0ed02fc0fe68b to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment