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
DocCのドキュメントをGithub Pagesで公開する
Search
Shin Yamamoto
October 26, 2021
Programming
720
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
DocCのドキュメントをGithub Pagesで公開する
Shin Yamamoto
October 26, 2021
More Decks by Shin Yamamoto
See All by Shin Yamamoto
Meet CoreDevice and devicectl
scenee
0
640
SwiftライブラリのObjC対応における落とし穴と回避策
scenee
0
340
Testing a constraint-based layout of UIView
scenee
1
1.4k
Playing Sheet presentation style on iOS 13
scenee
0
700
Fluid Interfacesの実践
scenee
4
1.7k
Introducing Relax
scenee
0
630
Potatotips#7: Box C String Tip
scenee
0
2.9k
Other Decks in Programming
See All in Programming
Flow は今どうなっているか
mizdra
PRO
0
720
楽しそうなつよつよエンジニアと目が死んでる僕/A brilliant engineer having a blast, and dead-eyed me.
3l4l5
2
250
Dockerfile CMD for Node.js
grazie1999
0
120
コンパウンドプロダクト開発のためのローカルプロセスマネージャー再発明 #layerxgo
izumin5210
0
340
プロポーザルを書いてもらう
pvcresin
0
580
初めての模倣学習とVLA
natsutan
0
250
Webエンジニアなのにブラウザの仕組みがわからないので、Pythonで自作してみた
tatsuki12
4
1.1k
komatsuna「分散システムにおけるバグ分析手法」
komatsunaqa
0
280
まだ間に合う!今年の夏こそSchemeのマクロ展開器を完全理解!
omasanori
0
500
【QA Test Talk Vol.8】AI-DLC による Whole Team Approach の加速
pkshadeck
PRO
0
240
Go 1.27 における memory allocation の高速化
andpad
0
320
Jindong: Introducing Declarative Haptics in Compose Multiplatform
l2hyunwoo
0
130
Featured
See All Featured
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
290
Game over? The fight for quality and originality in the time of robots
wayneb77
1
250
The untapped power of vector embeddings
frankvandijk
2
1.8k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.3k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
580
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
120
120k
SEO for Brand Visibility & Recognition
aleyda
0
4.7k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
310
The Curious Case for Waylosing
cassininazir
1
480
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
490
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
Transcript
2021 Oct 26 DocCͷυΩϡϝϯτΛ Github PagesͰެ։͢Δ Yappli Ͷ΄Γ΄Γ For Mobile
Engineer @scenee
DocC
Documentation Compiler
Documentation Compiler /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/docc
DocC Documentation Compiler • Xcodeͱ౷߹͞ΕͨυΩϡϝϯτπʔϧ • In-source documentation: Doc comment
and Documentation catalog • ReferenceɾArticles ɾTutorials • Swift Libraries(Frameworks/Packages)ͷΈରԠ • Xcode Documentation WindowͱΣϒͰදࣔ • Open source: github.com/apple/swift-docc
None
None
None
None
None
DocC Archive
DocC Archive Vue.js
DocC Archive
DocCͷυΩϡϝϯτΛ WebͰެ։͢Δ
.htaccess https://developer.apple.com/documentation/Xcode/distributing-documentation-to-external-developers
🤷 https://developer.apple.com/documentation/Xcode/distributing-documentation-to-external-developers
DocCͷυΩϡϝϯτΛ Github Pages Ͱެ։͢Δ
None
Github Pages Ͱ ެ։Ͱ͖·ͤΜͰͨ͠
Github PagesͰެ։Ͱ͖ͳ͍😩 • DocCͷαΠτɺVuejsͷSingle-page application(SPA) • Github PagesͰɺRewrite ruleΛઃఆͰ͖ͳ͍ •
ύε͕ݻఆ example.com/documentation/package_name • Rewrite͕ඞਢ
None
None
DocCͷυΩϡϝϯτΛ GitHub PagesͰެ։͢Δ
DocCͷυΩϡϝϯτΛ Firebase HostingͰެ։͢Δ
Firebase HostingͰ؆୯ 🎉 • ެ։ίϯςϯπΛDocC Archiveʹ͢Δͩ ͚ • σϑΥϧτͷRewriteઃఆͰOK •
Redirectઃఆ؆୯
floating-panel.web.app
ݱঢ়ͷ՝ Swift DocC Render • ੩తϑΝΠϧαʔόʔͰϗεςΟϯάͰ͖ͳ͍ • ϧʔςΟϯά͕ϧʔτύε͔Βݻఆ͞Ε͍ͯΔ(ઃఆͰ͖ͳ͍) • swift-docc-render:
github.com/apple/swift-docc-render/src/routes.js • 1ͭͷαΠτͰෳόʔδϣϯͷϗετςΟϯά͕Ͱ͖ͳ͍ Announcing Swift-DocC forums.swift.org/t/announcing-swift-docc/52797
Wrap up DocCͰੜͨ͠υΩϡϝϯτΛGithub PagesͰެ։͢Δ • DocC: Xcodeͱ౷߹͞ΕͨυΩϡϝϯτπʔϧ • υΩϡϝϯτΣϒެ։Ͱ͖Δ •
Firebase HostingͰ؆୯ʹެ։Ͱ͖Δ • Open SourceͰͷվળʹظ
References • DocC developer.apple.com/documentation/DocC • Swift-DocC: swift.org/blog/swift-docc/ • Meet DocC
documentation in Xcode - WWDC21 developer.apple.com/videos/play/ wwdc2021-10166 • Elevate your DocC documentation in Xcode - WWDC21 developer.apple.com/videos/play/ wwdc2021-10167 • Host and automate your DocC documentation - WWDC21 developer.apple.com/videos/play/ wwdc2021-10236 • Build interactive tutorials using DocC - WWDC21 developer.apple.com/videos/play/ wwdc2021-10235