Skip to content

Commit

Permalink
fix: fix doc generation (#77)
Browse files Browse the repository at this point in the history
Signed-off-by: Shiwei Zhang <[email protected]>
  • Loading branch information
shizhMSFT authored Dec 27, 2023
1 parent 6debbd6 commit d071b06
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 12 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/deploy-to-github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ jobs:
build-and-deploy:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{steps.deployment.outputs.page_url}}
name: github-pages
url: ${{steps.deployment.outputs.page_url}}
permissions:
id-token: write
pages: write
id-token: write
pages: write
steps:
- name: Checkout Repository
uses: actions/checkout@v4
Expand All @@ -27,17 +27,17 @@ jobs:
- name: Build Documentation
run: |
cd documentation
cd docs
docfx metadata docfx.json
docfx build
- name: Setup Pages
uses: actions/configure-pages@v3

- name: Upload Artifact
uses: actions/upload-pages-artifact@v2
with:
path: ./documentation/_site
path: ./docs/_site
name: mydocs

- name: Deploy to GitHub Pages
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion documentation/api/index.md → docs/api/index.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Oras-Dotnet API Documentation
# ORAS .NET API Documentation

Welcome to the oras-dotnet API documentation page. Here, you will find a comprehensive listing of APIs that oras-dotnet provides for interacting with OCI Artifacts in your .NET applications. This page is your reference for the methods, classes, and functionalities available in oras-dotnet.
2 changes: 1 addition & 1 deletion documentation/docfx.json → docs/docfx.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"files": [
"**.csproj"
],
"src": "../Oras"
"src": "../src/OrasProject.Oras"
}
],
"dest": "api",
Expand Down
File renamed without changes.
3 changes: 0 additions & 3 deletions documentation/toc.yml → docs/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,3 @@
- name: Documentation
href: /oras-dotnet/api
homepage: api/index.html



0 comments on commit d071b06

Please sign in to comment.