Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MUYSC
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
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
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
Show more breadcrumbs
Jorge Alfredo Jaimes Teherán
MUYSC
Commits
330cc98d
Unverified
Commit
330cc98d
authored
4 years ago
by
Yann Dubois
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
DOCS: justifying text (#992) (#997)
Closes #992
parent
e918a482
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/advanced/sphinx.md
+10
-0
10 additions, 0 deletions
docs/advanced/sphinx.md
with
10 additions
and
0 deletions
docs/advanced/sphinx.md
+
10
−
0
View file @
330cc98d
...
@@ -131,6 +131,16 @@ The rules should then automatically be applied to your site. In general, these
...
@@ -131,6 +131,16 @@ The rules should then automatically be applied to your site. In general, these
CSS and JS files will be loaded
*after*
others are loaded on your page, so they
CSS and JS files will be loaded
*after*
others are loaded on your page, so they
should overwrite pre-existing rules and behaviour.
should overwrite pre-existing rules and behaviour.
### An example: Justify the text
If you want the text of you book to be justified instead of left aligned then create
`myfile.css`
under
`mybook/_static`
with the following CSS:
```
css
p
{
text-align
:
justify
;
}
```
## Manual sphinx configuration
## Manual sphinx configuration
You may also directly override the key-value pairs that Sphinx normally has
You may also directly override the key-value pairs that Sphinx normally has
...
...
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