Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
MarkdownでもSphinx
Search
Satoshi Miura
June 26, 2016
Technology
1
450
MarkdownでもSphinx
Python東海30回での発表資料
Satoshi Miura
June 26, 2016
Tweet
Share
More Decks by Satoshi Miura
See All by Satoshi Miura
お金ダッシュボードを作ってみた
mursts
0
330
asyncioを軽くさわってみた
mursts
0
170
FlaskとYomanでHello World
mursts
0
380
Google App Engine入門
mursts
0
640
Other Decks in Technology
See All in Technology
Tech-Verse 2025 Global CTO Session
lycorptech_jp
PRO
0
720
製造業からパッケージ製品まで、あらゆる領域をカバー!生成AIを利用したテストシナリオ生成 / 20250627 Suguru Ishii
shift_evolve
PRO
1
150
怖くない!はじめてのClaude Code
shinya337
0
110
Amazon ECS & AWS Fargate 運用アーキテクチャ2025 / Amazon ECS and AWS Fargate Ops Architecture 2025
iselegant
17
5.8k
強化されたAmazon Location Serviceによる新機能と開発者体験
dayjournal
3
230
生成AI時代 文字コードを学ぶ意義を見出せるか?
hrsued
1
640
フィンテック養成勉強会#54
finengine
0
180
Witchcraft for Memory
pocke
1
500
Oracle Audit Vault and Database Firewall 20 概要
oracle4engineer
PRO
3
1.7k
急成長を支える基盤作り〜地道な改善からコツコツと〜 #cre_meetup
stefafafan
0
130
AWS Organizations 新機能!マルチパーティ承認の紹介
yhana
1
170
Amazon S3標準/ S3 Tables/S3 Express One Zoneを使ったログ分析
shigeruoda
4
570
Featured
See All Featured
The Pragmatic Product Professional
lauravandoore
35
6.7k
4 Signs Your Business is Dying
shpigford
184
22k
Java REST API Framework Comparison - PWX 2021
mraible
31
8.7k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.4k
KATA
mclloyd
30
14k
YesSQL, Process and Tooling at Scale
rocio
173
14k
Adopting Sorbet at Scale
ufuk
77
9.4k
Optimizing for Happiness
mojombo
379
70k
The World Runs on Bad Software
bkeepers
PRO
69
11k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.9k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
31
1.2k
jQuery: Nuts, Bolts and Bling
dougneiner
63
7.8k
Transcript
MARKDOWNͰSPHINX 2016.06.25 PYTHON౦ւ 30TH
͓લͩΕΑ > Έ͏Β͞ͱ͠(@mursts) > Python౦ւͷཧਓͷҰਓͰ͢ > GCPUG Nagoya࢝Ί·ͨ͠(new) > 7/16()ʹGCPUG
Nagoya #1
υΩϡϝϯτॻ ͍ͯ·͔͢ʁ
ΈΜͳେ͖
Ͱͳ͘
ࠓͬͪ͜Ͱ͢
SPHINXͱ͍͑
RESTRUCTUREDTEXT
օ͞Μ͔͚·͢ ͔ʁ
MARKDOWNͳΒͲ͏ Ͱ͠ΐ͏ʁ
RECOMMONMARK͑ SPHINXͰMARKDOWN͕ ͑·͢
RECOMMONMARK ?
A docutils-compatibility bridge to CommonMark.
͍ํ
$ pip install sphinx recommonmark
conf.py > from recommonmark.parser import CommonMarkParser > > source_parsers =
{ > '.md': CommonMarkParser, > } > < # source_suffix = ['.rst', '.md'] < source_suffix = '.rst' --- > source_suffix = ['.rst', '.md'] > # source_suffix = '.rst'
ޙɺindex.rstʹՃͯ͠make html
ҙ > GitHub Flavored MarkdownʹରԠ͍ͯ͠·ͤΜɻ > CommonMarkͷΈʹରԠ͍ͯ͠·͢ > ςʔϒϧΛ͍͍ͨ߹reSTͰ
RESTRUCTUREDTEXT ۤखͰMARKDOWN ͳΒ࢝ΊΒΕΔ ͔ʂ
MAKRDOWNͱSPHINXͰ Α͍υΩϡϝ ϯτϥΠϑΛʂ