Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
mokit-doc-mdbook
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
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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 JiHu GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Shirong Wang
mokit-doc-mdbook
Commits
c7e0791e
Commit
c7e0791e
authored
2 years ago
by
Shirong Wang
Browse files
Options
Downloads
Patches
Plain Diff
update README
parent
5d3ee20b
No related branches found
Branches containing commit
Tags
0.2.9
Tags containing commit
No related merge requests found
Pipeline
#56020
passed
2 years ago
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+8
-16
8 additions, 16 deletions
README.md
with
8 additions
and
16 deletions
README.md
+
8
−
16
View file @
c7e0791e
# mdbook Pages template
An mdbook template for GitLab pages. This template automatically builds your mdbook with CI/CD using the following
`.gitlab-ci.yml`
:
# mdbook Pages for MOKIT Doc
## Usage
```
pages:
stage: deploy
script:
- wget https://github.com/badboy/mdbook-toc/releases/download/0.2.4/mdbook-toc-0.2.4-x86_64-unknown-linux-gnu.tar.gz
- wget https://github.com/rust-lang/mdBook/releases/download/v0.3.7/mdbook-v0.3.7-x86_64-unknown-linux-gnu.tar.gz
- tar xvzf mdbook-v0.3.7-x86_64-unknown-linux-gnu.tar.gz
- tar xvzf mdbook-toc-0.2.4-x86_64-unknown-linux-gnu.tar.gz
- ./mdbook build
artifacts:
paths:
- public
only:
- master
tar xzvf mdbook-toc*.tar.gz
tar xzvf mdbook-v*.tar.gz
# modify md in src
./mdbook build
./mdbook serve
# open your browser to visit http://localhost:3000
```
## Features
...
...
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