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
作るコストが小さくなった時代 幸せに働くために改めて考えたいこと 〜エンジニアとして価値を出し続けるために注視している二分野〜
yuppeeng
0
180
全PRの83%がAIレビューだけでマージできるようになった開発組織はその後どうなったか
athug
1
1.4k
使用 Meilisearch 建立新聞搜尋工具
johnroyer
0
220
komatsuna「分散システムにおけるバグ分析手法」
komatsunaqa
0
230
信頼性について考えてみる(SRE NEXT 2026 miniLT)
hayama17
0
240
VibeCodingからAgenticWorkflowへ
starfish719
0
220
<title><a id="</title>君はこのHTMLをパースできるか"></a></title> #雑LT_study
pizzacat83
0
130
Lean は証明の正しさを確認するためだけのツールって思ってませんか?
inoueasei
1
140
生成AI導入の「期待外れ」を乗り越える ー 開発フロー改革が目指す、真の組織変革
starfish719
0
3.9k
Welcome to the "Parametricity" 🏙️ − Generic だけど Specific な世界 −
guvalif
PRO
1
200
改善しないと、タスクが回らない。 “てんこ盛りポジション” を引き継いだ情シスの、入社3ヶ月の業務改善録
krm963
0
250
AI時代のPHPer生存戦略 ~「言語、もうなんでもよくない?」に本気で向き合う~
vivion
0
240
Featured
See All Featured
WCS-LA-2024
lcolladotor
0
790
Code Reviewing Like a Champion
maltzj
528
40k
4 Signs Your Business is Dying
shpigford
187
22k
Optimizing for Happiness
mojombo
378
71k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
200
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
570
Bash Introduction
62gerente
615
220k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
440
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
240
A designer walks into a library…
pauljervisheath
211
24k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
480
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
380
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