Created
January 19, 2020 19:35
-
-
Save constrict0r/ec30106b78cad9051d1e4714e8b7ed5d to your computer and use it in GitHub Desktop.
Github/Gitlab Img URL conf.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Doom | |
# github | |
img_base_url = "https://raw.githubusercontent.com/" | |
img_url = img_base_url + author + "/img/master/" + project + "/" | |
# gitlab | |
img_base_url = "https://gitlab.com/" + author + "/" + project + "/" | |
img_url = img_base_url + "img/raw/master/" | |
General | |
# github | |
img_base_url = "https://raw.githubusercontent.com/" | |
img_url = img_base_url + author + "/" + project + "/master/img/" | |
# gitlab | |
img_base_url = "https://gitlab.com/" + author + "/" + project + "/" | |
img_url = img_base_url + "raw/master/img/" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment