diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 131ae9c..9a9b97e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,7 +5,7 @@ pages: only: - master script: - - pip install mkdocs-material + - pip install mkdocs-material mkdocs-macros-plugin - mkdocs build --site-dir public artifacts: paths: diff --git a/docs/android/04-root-avd-device.md b/docs/android/04-root-avd-device.md index d502510..db4a73f 100644 --- a/docs/android/04-root-avd-device.md +++ b/docs/android/04-root-avd-device.md @@ -8,7 +8,7 @@ description: How to root an emulator from AVD (Android Virtual Device). !!! warning Pick any image that does NOT say **Google Play** in the target column. -![Your virtual devices](/assets/img/android/your_virtual_devices.png) +![Your virtual devices]({{ base_url }}/assets/img/android/your_virtual_devices.png) You can now close *android-studio*. diff --git a/mkdocs.yml b/mkdocs.yml index 800a624..e382293 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -28,6 +28,7 @@ repo_name: xanhacks/ctf-docs extra: homepage: https://xanhacks.gitlab.io/ctf-docs/welcome/ + base_url: https://xanhacks.gitlab.io/ctf-docs social: - icon: fontawesome/brands/twitter link: https://twitter.com/xanhacks @@ -43,6 +44,7 @@ markdown_extensions: - meta - admonition - def_list + - macros extra_javascript: - https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.7.2/highlight.min.js