Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mkdocs-material
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Janne Mareike Koschinski
mkdocs-material
Commits
65f2b56c
Commit
65f2b56c
authored
7 years ago
by
squidfunk
Browse files
Options
Downloads
Patches
Plain Diff
Fixed Travis build
parent
307c84f5
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.travis.sh
+6
-5
6 additions, 5 deletions
.travis.sh
with
6 additions
and
5 deletions
.travis.sh
+
6
−
5
View file @
65f2b56c
...
@@ -51,14 +51,15 @@ if [ "$TRAVIS_BRANCH" == "master" -a "$TRAVIS_PULL_REQUEST" == "false" ]; then
...
@@ -51,14 +51,15 @@ if [ "$TRAVIS_BRANCH" == "master" -a "$TRAVIS_PULL_REQUEST" == "false" ]; then
git config
--global
user.email
"
${
GH_EMAIL
}
"
git config
--global
user.email
"
${
GH_EMAIL
}
"
git remote set-url origin
${
REMOTE
}
git remote set-url origin
${
REMOTE
}
# Install GitHub pages import helper and Material, so we can use it as a
# Install Material, so we can use it as a base template and add overrides
# base template and add overrides
pip
install
--user
ghp-import
python setup.py
install
--user
python setup.py
install
--user
# Override theme configuration
sed
-i
's/name: null/name: material/g'
mkdocs.yml
sed
-i
's/custom_dir: material/custom_dir: overrides/g'
mkdocs.yml
# Build documentation with overrides and publish to GitHub pages
# Build documentation with overrides and publish to GitHub pages
mkdocs build
--theme
material
--theme-dir
overrides
mkdocs gh-deploy
--force
ghp-import
--no-jekyll
--force
--push
site
fi
fi
# Remove overrides directory so it won't get included in the image
# Remove overrides directory so it won't get included in the image
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment