This commit is contained in:
parent
2400ec5d90
commit
2d1583c31a
@ -14,11 +14,7 @@ jobs:
|
||||
swift build
|
||||
- name: Build Docs
|
||||
run: |
|
||||
C:\Users\David\Documents\Projects\swift-docc\.build\x86_64-unknown-windows-msvc\release\docc.exe convert .\Sources\winui-swift\winui-swift.docc --output-dir docs --additional-symbol-graph-dir .build --transform-for-static-hosting
|
||||
- name: Modify Docs
|
||||
run: |
|
||||
echo "<script>window.location.href += \"/documentation/winui_swift\"</script><p>Please enable JavaScript to view the documentation <a href='/documentation/winui_swift'>here</a>.</p>" > docs/index.html;
|
||||
sed -i '' 's/,2px/,10px/g' docs/css/index.*.css
|
||||
C:\Users\David\Documents\Projects\swift-docc\.build\x86_64-unknown-windows-msvc\release\docc.exe convert .\Sources\winui-swift\winui-swift.docc --output-dir docs --additional-symbol-graph-dir .build --transform-for-static-hosting
|
||||
- name: Upload
|
||||
uses: wangyucode/sftp-upload-action@v2.0.2
|
||||
with:
|
||||
|
Loading…
Reference in New Issue
Block a user