Skip to content

Commit 18c46e8

Browse files
authored
Link to new documentation website from the README (#511)
1 parent 95c8379 commit 18c46e8

21 files changed

+71
-119
lines changed

.github/workflows/publish-docs.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,12 @@ jobs:
3535

3636
- name: Build Documentation
3737
run: docfx docfx.json
38+
working-directory: ./docs
3839

3940
- name: Upload Site Artifact
4041
uses: actions/upload-pages-artifact@v3
4142
with:
42-
path: '_site'
43+
path: './docs/_site'
4344

4445
- name: Deploy to GitHub Pages
4546
uses: actions/deploy-pages@v4

.gitignore

+1-4
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,7 @@ obj
44
nuget
55
BenchmarkDotNet.Artifacts
66
.vs
7-
_site
8-
api
9-
.manifest
107

118
# The solution files get generated by vcpkg on Windows
129
# and by the C# Dev Kit within a dev container.
13-
*.sln
10+
*.sln

README.md

+2-13
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Supported platforms:
3535

3636
The following examples show how to write and then read a Parquet file with three columns representing a timeseries of object-value pairs.
3737
These use the low-level API, which is the recommended API for working with native .NET types and closely maps to the API of Apache Parquet C++.
38-
For reading and writing data in the [Apache Arrow](https://arrow.apache.org/) format, an [Arrow-based API](docs/Arrow.md) is also provided.
38+
For reading and writing data in the [Apache Arrow](https://arrow.apache.org/) format, an [Arrow-based API](https://g-research.github.io/ParquetSharp/guides/Arrow.html) is also provided.
3939

4040
### 1. Initialize a new project
4141

@@ -159,18 +159,7 @@ Timestamp: 2025-01-25 10:16:25 AM, ObjectId: 2, Value: 4.56
159159

160160
## Documentation
161161

162-
For more detailed information on how to use ParquetSharp, see the following documentation:
163-
164-
* [Writing Parquet files](docs/Writing.md)
165-
* [Reading Parquet files](docs/Reading.md)
166-
* [Working with nested data](docs/Nested.md)
167-
* [Reading and writing Arrow data](docs/Arrow.md) — how to read and write data using the [Apache Arrow format](https://arrow.apache.org/)
168-
* [Row-oriented API](docs/RowOriented.md) — a higher level API that abstracts away the column-oriented nature of Parquet files
169-
* [Custom types](docs/TypeFactories.md) — how to customize the mapping between .NET and Parquet types,
170-
including using the `DateOnly` and `TimeOnly` types added in .NET 6.
171-
* [Encryption](docs/Encryption.md) — using Parquet Modular Encryption to read and write encrypted data
172-
* [Writing TimeSpan data](docs/TimeSpan.md) — interoperability with other libraries when writing TimeSpan data
173-
* [Use from PowerShell](docs/PowerShell.md)
162+
For more detailed guides on how to use ParquetSharp and an API reference, please see [the documentation](https://g-research.github.io/ParquetSharp/).
174163

175164
## Rationale
176165

docs/.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
_site
2+
api

docfx.json renamed to docs/docfx.json

+11-6
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
{
55
"src": [
66
{
7-
"src": "./csharp",
7+
"src": "../csharp",
88
"files": [
99
"**/*.csproj"
1010
]
1111
}
1212
],
13-
"dest": "api",
13+
"dest": "api"
1414
}
1515
],
1616
"build": {
@@ -27,7 +27,7 @@
2727
"resource": [
2828
{
2929
"files": [
30-
"images/**"
30+
"images/*"
3131
]
3232
}
3333
],
@@ -37,12 +37,17 @@
3737
"modern"
3838
],
3939
"globalMetadata": {
40-
"_appFaviconPath": "images/logo/svg/ParquetSharp_IconLogo_RGB-Black.svg",
41-
"_appLogoPath": "images/logo/svg/ParquetSharp_IconLogo_RGB-Black_small.svg",
40+
"_appFaviconPath": "images/favicon.svg",
41+
"_appLogoPath": "images/logo.svg",
4242
"_appName": "ParquetSharp",
4343
"_appTitle": "ParquetSharp",
4444
"_enableNewTab": true,
4545
"_enableSearch": true
46+
},
47+
"markdownEngineProperties": {
48+
"markdigExtensions": [
49+
"attributes"
50+
]
4651
}
4752
}
48-
}
53+
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

docs/TypeFactories.md renamed to docs/guides/TypeFactories.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -156,5 +156,6 @@ private sealed class CustomTypeFactory : LogicalTypeFactory
156156

157157
### Learn More
158158

159-
Check [TestLogicalTypeFactory.cs](../csharp.test/TestLogicalTypeFactory.cs) for a more comprehensive set of examples,
159+
Check [TestLogicalTypeFactory.cs](https://github.com/G-Research/ParquetSharp/blob/master/csharp.test/TestLogicalTypeFactory.cs)
160+
for a more comprehensive set of examples,
160161
as there are many places that can be customized and optimized by the user.
File renamed without changes.

docs/guides/toc.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
- name: Reading Parquet
2+
href: Reading.md
3+
- name: Writing Parquet
4+
href: Writing.md
5+
- name: Arrow API
6+
href: Arrow.md
7+
- name: Row-Oriented API
8+
href: RowOriented.md
9+
- name: Nested Data
10+
href: Nested.md
11+
- name: Encryption
12+
href: Encryption.md
13+
- name: Type Factories
14+
href: TypeFactories.md
15+
- name: Time Span Handling
16+
href: TimeSpan.md
17+
- name: Use from PowerShell
18+
href: PowerShell.md

docs/images/favicon.svg

+1
Loading

docs/images/header.svg

+1
Loading

docs/images/logo.svg

+7
Loading

0 commit comments

Comments
 (0)