Skip to content

Commit

Permalink
add base url
Browse files Browse the repository at this point in the history
  • Loading branch information
xanhacks committed Jun 1, 2021
1 parent 467abf6 commit cb35133
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion docs/android/04-root-avd-device.md
Original file line number Diff line number Diff line change
Expand Up @@ -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*.

Expand Down
2 changes: 2 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit cb35133

Please sign in to comment.