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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Shin Yamamoto
October 26, 2021
Programming
710
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
620
SwiftライブラリのObjC対応における落とし穴と回避策
scenee
0
330
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
関係性から理解する"同一性"の型用語たち
pvcresin
2
640
AIチームを指揮するOSS「TAKT」活用術 / How to Use “TAKT,” an OSS Tool for Orchestrating AI Teams
nrslib
6
830
Oxlintのカスタムルールの現況
syumai
5
1k
作って学ぶ、 JSX (TSX) ランタイムの基本
syumai
7
1.5k
権限チェックの一貫性を型で守る TypeScript による多層防御
mnch
4
1.1k
AI 時代のソフトウェア設計の学び方
masuda220
PRO
29
12k
Lessons from Spec-Driven Development
simas
PRO
0
140
不変条件と整合性境界—ビジネスが決める設計判断と実現パターン / Invariants and Consistency Boundaries
nrslib
13
3.4k
Modding RubyKaigi for Myself
yui_knk
0
890
「エンジニアインターン、どうやって取った?」準備のリアルを語るLT会 Progate BAR
akiomatic
0
120
「AIで開発し、AIを届ける」をEvalでつなぐ 〜AIネイティブに始めるプロダクト開発の実践〜 / Connecting "Develop with AI, deliver AI" with Eval
rkaga
4
2.4k
脅威をエンジニアリングの糧にして――現場編 / Turning Threats into Engineering Fuel — Field Edition
nrslib
0
250
Featured
See All Featured
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
720
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Visualization
eitanlees
152
17k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Reality Check: Gamification 10 Years Later
codingconduct
0
2.2k
Making the Leap to Tech Lead
cromwellryan
135
9.9k
Optimising Largest Contentful Paint
csswizardry
37
3.7k
What does AI have to do with Human Rights?
axbom
PRO
1
2.2k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.5k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.5k
Into the Great Unknown - MozCon
thekraken
41
2.5k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
270
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