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
630
SwiftライブラリのObjC対応における落とし穴と回避策
scenee
0
340
Testing a constraint-based layout of UIView
scenee
1
1.3k
Playing Sheet presentation style on iOS 13
scenee
0
690
Fluid Interfacesの実践
scenee
4
1.7k
Introducing Relax
scenee
0
620
Potatotips#7: Box C String Tip
scenee
0
2.8k
Other Decks in Programming
See All in Programming
Language Server 使ってる? 〜VSCode と Zed の場合〜 / Are you using a Language Server? ~For VS Code and Zed~
handlename
0
800
Dataformのリポジトリを立ち上げるときにまずやること / dataform-day0-2026
snhryt
0
180
軽量Java基盤の設計 DIコンテナに頼らない、長期保守と1秒起動の実現 JJUG CCC 2026 Spring
macha64
0
570
IBM Bobを活用したレガシーアプリの最新化
oniak3ibm
PRO
1
210
Even G2とAWSで推しのエージェントを召喚しよう!
har1101
1
120
act1-costs.pdf
sumedhbala
0
110
スマートグラスで並列バイブコーディング
hyshu
0
260
dRuby over BLE
makicamel
2
390
技術的負債解消で開発者の未来を開く- AIの力でコード刷新
kmd2kmd
0
120
AI駆動開発を妨げる技術的負債の解消アプローチ / ai-refactoring-approach
minodriven
12
6.5k
脅威をエンジニアリングの糧にして――現場編 / Turning Threats into Engineering Fuel — Field Edition
nrslib
0
300
The NotImplementedError Problem in Ruby
koic
1
920
Featured
See All Featured
Speed Design
sergeychernyshev
33
1.9k
Context Engineering - Making Every Token Count
addyosmani
9
980
Writing Fast Ruby
sferik
630
63k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.5k
How to train your dragon (web standard)
notwaldorf
97
6.7k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
310
AI: The stuff that nobody shows you
jnunemaker
PRO
8
730
Why Our Code Smells
bkeepers
PRO
340
58k
Building a Scalable Design System with Sketch
lauravandoore
463
34k
Facilitating Awesome Meetings
lara
57
7k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
340
Product Roadmaps are Hard
iamctodd
PRO
55
12k
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