Guides icon indicating copy to clipboard operation
Guides copied to clipboard

fix: no symlinks

Open userdocs opened this issue 3 years ago • 0 comments

This method should retain an almost identical layout/setup to the current web/git one with no relocation of files or folders whilst completely removing the three symlinks in the repo

  1. add include-markdown plugin from here
  2. change .pages How-to-setup-for to - How-to-setup-for: Hardlinks/How-to-setup-for
  3. remove How-to-setup-for symlink
  4. remove Sonarr/Tips/images and Sonarr/Tips/Sync-2-radarr-sonarr.md symlinks
  5. include ../../Radarr/Tips/Sync-2-radarr-sonarr.md into Sonarr/Tips/Sync-2-radarr-sonarr.md
  6. include ../../Radarr/Tips/Merge-quality.md into Sonarr/Tips/Merge-quality.md

This can be tested locally in WSL2 or docker like this

docker run -it -p 8000:8000 -w /root -v ~/mkdocs:/root ubuntu:jammy

apt update
apt install -y git python3-pip

git clone https://github.com/userdocs/Guides.git
python3 -m pip install -r Guides/docs/requirements.txt

pip3 install mkdocs-include-markdown-plugin

git clone https://github.com/userdocs/Guides.git
cd Guides
mkdocs serve -a 0.0.0.0:8000

Visit http://localhost:8000/

userdocs avatar Jul 31 '22 00:07 userdocs