This repository was archived by the owner on Mar 27, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +14
-1
lines changed
documentation/docs/.vuepress Expand file tree Collapse file tree 4 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -21,4 +21,7 @@ DJANGO_EMAIL_PORT=1025
2121
2222# for local development, change ``localhost`` to your
2323# local IP, such as ``196.168.1.16``
24- DOMAIN_NAME = localhost
24+ DOMAIN_NAME = localhost
25+
26+ # Environment Variables for VuePress
27+ CI_PROJECT_URL = https://gitlab.com/verbose-equals-true/django-postgres-vue-gitlab-ecs
Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ variables:
1717pages :
1818 image : node:latest
1919 stage : documentation
20+ variables :
21+ CI_PROJECT_URL : $CI_PROJECT_URL
2022 script :
2123 - ./documentation/build_documentation.sh
2224 artifacts :
Original file line number Diff line number Diff line change @@ -11,3 +11,5 @@ services:
1111 - " 8081:8081"
1212 volumes :
1313 - ../documentation/docs:/app/docs
14+ environment :
15+ CI_PROJECT_URL : ${CI_PROJECT_URL}
Original file line number Diff line number Diff line change @@ -21,6 +21,12 @@ module.exports = {
2121 themeConfig : {
2222 lastUpdated : "Last Updated: " ,
2323 sidebar : "auto" ,
24+ repo : process . env . CI_PROJECT_URL ,
25+ docsBranch : "develop" ,
26+ repoLabel : "View on GitLab" ,
27+ docsDir : "documentation/docs" ,
28+ editLinks : true ,
29+ editLinkText : "Edit this page on GitLab" ,
2430 nav : [
2531 { text : "Home" , link : "/" } ,
2632 {
You can’t perform that action at this time.
0 commit comments