-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
59 changed files
with
7,325 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one or more | ||
# contributor license agreements. See the NOTICE file distributed with | ||
# this work for additional information regarding copyright ownership. | ||
# The ASF licenses this file to You under the Apache License, Version 2.0 | ||
# (the "License"); you may not use this file except in compliance with | ||
# the License. You may obtain a copy of the License at | ||
# | ||
# https://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# For most projects, this workflow file will not need changing; you simply need | ||
# to commit it to your repository. | ||
|
||
|
||
# Sample workflow for building and deploying a Hugo site to GitHub Pages | ||
name: Deploy Hugo site to Pages | ||
|
||
on: | ||
# Runs on pushes targeting the default branch | ||
push: | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. | ||
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. | ||
concurrency: | ||
group: "pages" | ||
cancel-in-progress: false | ||
|
||
jobs: | ||
# Build job | ||
build: | ||
runs-on: ubuntu-latest | ||
env: | ||
HUGO_VERSION: 0.132.1 | ||
steps: | ||
- name: Install Hugo CLI | ||
run: | | ||
wget -q -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \ | ||
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb | ||
- name: Install Dart Sass | ||
run: sudo snap install dart-sass | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Install Node.js dependencies | ||
working-directory: doc/ | ||
run: ls -lah && npm ci | ||
- name: Build with Hugo | ||
working-directory: doc/ | ||
env: | ||
HUGO_CACHEDIR: ${{ runner.temp }}/hugo_cache | ||
HUGO_ENVIRONMENT: production | ||
TZ: America/Los_Angeles | ||
run: | | ||
hugo \ | ||
--gc \ | ||
--minify \ | ||
--baseURL "https://fokko.github.io/avro/" | ||
- name: Commit new site | ||
run: | | ||
set -ex | ||
mv doc/public docs/ | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Github Actions" | ||
git checkout --orphan asf-site-staging | ||
git add . | ||
git commit -m "Update docs" | ||
git checkout asf-site | ||
git reset --hard asf-site-staging | ||
git push origin asf-site --force | ||
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
public/ | ||
resources/ | ||
node_modules/ | ||
package-lock.json | ||
.hugo_build.lock |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
--- | ||
title: Apache Avro | ||
--- | ||
|
||
{{< blocks/cover title="Apache Avro™ " image_anchor="top" >}} | ||
<a class="btn btn-lg btn-primary me-3 mb-4" href="docs/"> | ||
Learn More <i class="fas fa-arrow-alt-circle-right ms-2"></i> | ||
</a> | ||
<a class="btn btn-lg btn-secondary me-3 mb-4" href="project/download/"> | ||
Download <i class="fab fa-github ms-2 "></i> | ||
</a> | ||
<p class="lead mt-5">a data serialization system</p> | ||
{{< blocks/link-down color="info" >}} | ||
{{< /blocks/cover >}} | ||
|
||
|
||
{{% blocks/lead color="primary" %}} | ||
|
||
Apache Avro™ is the leading serialization format for record data, and first choice for streaming data pipelines. It offers excellent schema evolution, and has implementations for the JVM (Java, Kotlin, Scala, …), Python, C/C++/C#, PHP, Ruby, Rust, JavaScript, and even Perl. | ||
|
||
{{% /blocks/lead %}} | ||
|
||
|
||
{{< blocks/section color="dark" type="row">}} | ||
<!-- Note: the number of feature blocks should be a multiple of 3 for optimal display --> | ||
|
||
{{% blocks/feature icon="fab fa-java" title="Getting started with Java" url="/docs/++version++/getting-started-java" %}} | ||
For Java / JVM users, find out everything you need to know about specifying a schema, (de)serializing Avro data and code generation. | ||
{{% /blocks/feature %}} | ||
|
||
{{% blocks/feature icon="fab fa-python" title="Getting started with Python" url="/docs/++version++/getting-started-python" %}} | ||
For Python users, find out everything you need to know about specifying a schema and (de)serializing Avro data. | ||
{{% /blocks/feature %}} | ||
|
||
{{% blocks/feature icon="fad fa-comments" title="Join Our Community!" url="/community/" %}} | ||
Learn from or connect with other users in our open and welcoming community. We'd love to hear from you! | ||
{{% /blocks/feature %}} | ||
|
||
{{< /blocks/section >}} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.