-
Notifications
You must be signed in to change notification settings - Fork 3k
Add Fast Mode for Documentation Builds #14267
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
3f85bb2
Add Fast Mode for Documentation Builds
talatuyarer 4e411fc
make serve-dev
kevinjqliu 8d54249
make serve-dev
kevinjqliu 206497d
Merge branch 'kevinjqliu/fast-website-build' into improve-site-build-…
kevinjqliu 02faa87
fix merge conflicts
kevinjqliu 6a3faeb
Fixed VENV_DIR not set in serve-dev.sh by sourcing common.sh
talatuyarer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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,37 @@ | ||
| #!/usr/bin/env bash | ||
| # | ||
| # 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 | ||
| # | ||
| # http://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. | ||
| # | ||
|
|
||
| # Development mode serve script - only builds nightly and latest for fast iteration | ||
|
|
||
| source dev/common.sh | ||
|
|
||
| set -e | ||
|
|
||
| export ICEBERG_DEV_MODE=true | ||
|
|
||
| echo "==========================================" | ||
| echo "RUNNING IN DEVELOPMENT MODE" | ||
| echo "Only building nightly and latest versions" | ||
| echo "==========================================" | ||
| echo "" | ||
|
|
||
| ./dev/setup_env.sh | ||
|
|
||
| # Using mkdocs serve with --dirty flag for even faster rebuilds | ||
| # The --dirty flag means only changed files are rebuilt | ||
| "${VENV_DIR}/bin/python3" -m mkdocs serve --dirty --watch . -f mkdocs-dev.yml |
This file contains hidden or 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,107 @@ | ||
| # 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 | ||
| # | ||
| # http://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. | ||
|
|
||
| # This is a development navigation configuration that only includes | ||
| # nightly and latest documentation for faster build times during | ||
| # iterative development. Use this with ICEBERG_DEV_MODE=true. | ||
|
|
||
| INHERIT: ./mkdocs.yml | ||
|
|
||
| nav: | ||
| - Home: index.md | ||
| - Quickstart: | ||
| - Spark: spark-quickstart.md | ||
| - Hive: hive-quickstart.md | ||
| - Docs: | ||
| - Java: | ||
| - Nightly: '!include docs/docs/nightly/mkdocs.yml' | ||
| - Latest (1.10.0): '!include docs/docs/latest/mkdocs.yml' | ||
| - Other Implementations: | ||
| - Python: https://py.iceberg.apache.org/ | ||
| - Rust: https://rust.iceberg.apache.org/ | ||
| - Go: https://go.iceberg.apache.org/ | ||
| - C++: https://github.com/apache/iceberg-cpp/ | ||
| - Third-party: | ||
| - Catalogs: | ||
| - Apache Gravitino: https://gravitino.apache.org/ | ||
| - Apache Polaris: https://polaris.apache.org/ | ||
| - Boring Catalog: https://github.com/boringdata/boring-catalog | ||
| - DataHub: https://docs.datahub.com/docs/iceberg-catalog | ||
| - Google BigLake metastore: https://cloud.google.com/bigquery/docs/blms-manage-resources | ||
| - Lakekeeper: https://github.com/lakekeeper/lakekeeper | ||
| - Integrations: | ||
| - Amazon Athena: https://docs.aws.amazon.com/athena/latest/ug/querying-iceberg.html | ||
| - Amazon Data Firehose: https://docs.aws.amazon.com/firehose/latest/dev/apache-iceberg-destination.html | ||
| - Amazon EMR: https://docs.aws.amazon.com/emr/latest/ReleaseGuide/emr-iceberg-use-cluster.html | ||
| - Amazon Redshift: https://docs.aws.amazon.com/redshift/latest/dg/querying-iceberg.html | ||
| - Apache Amoro: integrations/amoro.md | ||
| - Apache Doris: https://doris.apache.org/docs/dev/lakehouse/catalogs/iceberg-catalog | ||
| - Apache Druid: https://druid.apache.org/docs/latest/development/extensions-contrib/iceberg/ | ||
| - BladePipe: https://www.bladepipe.com/docs/dataMigrationAndSync/datasource_func/Iceberg/props_for_iceberg_ds | ||
| - ClickHouse: https://clickhouse.com/docs/en/engines/table-engines/integrations/iceberg | ||
| - Daft: integrations/daft.md | ||
| - Databend: https://docs.databend.com/guides/access-data-lake/iceberg | ||
| - Dremio: https://docs.dremio.com/data-formats/apache-iceberg/ | ||
| - DuckDB: https://duckdb.org/docs/preview/core_extensions/iceberg/overview | ||
| - Estuary: https://docs.estuary.dev/reference/Connectors/materialization-connectors/apache-iceberg/ | ||
| - Firebolt: https://docs.firebolt.io/reference-sql/functions-reference/table-valued/read_iceberg | ||
| - Google BigQuery: https://cloud.google.com/bigquery/docs/iceberg-tables | ||
| - Impala: https://impala.apache.org/docs/build/html/topics/impala_iceberg.html | ||
| - Memiiso Debezium: https://memiiso.github.io/debezium-server-iceberg/ | ||
| - Nimtable: https://github.com/nimtable/nimtable | ||
| - OLake: https://olake.io/docs | ||
| - Presto: https://prestodb.io/docs/current/connector/iceberg.html | ||
| - Redpanda: https://docs.redpanda.com/current/manage/iceberg/about-iceberg-topics | ||
| - RisingWave: integrations/risingwave.md | ||
| - Snowflake: https://docs.snowflake.com/en/user-guide/tables-iceberg | ||
| - Starburst: https://docs.starburst.io/latest/connector/iceberg.html | ||
| - Starrocks: https://docs.starrocks.io/en-us/latest/data_source/catalog/iceberg_catalog | ||
| - Tinybird: https://www.tinybird.co/docs/forward/get-data-in/table-functions/iceberg | ||
| - Trino: https://trino.io/docs/current/connector/iceberg.html | ||
| - Releases: releases.md | ||
| - Project: | ||
| - Contributing: contribute.md | ||
| - Multi-engine support: multi-engine-support.md | ||
| - How to release: how-to-release.md | ||
| - ASF: | ||
| - Sponsorship: https://www.apache.org/foundation/sponsorship.html | ||
| - Events: https://www.apache.org/events/current-event.html | ||
| - Privacy: https://privacy.apache.org/policies/privacy-policy-public.html | ||
| - License: https://www.apache.org/licenses/ | ||
| - Security: https://www.apache.org/security/ | ||
| - Sponsors: https://www.apache.org/foundation/sponsors.html | ||
| - Community: | ||
| - Community: community.md | ||
| - Talks: talks.md | ||
| - Vendors: vendors.md | ||
| - Specification: | ||
| - Terms: terms.md | ||
| - REST Catalog Spec: rest-catalog-spec.md | ||
| - Table Spec: spec.md | ||
| - View spec: view-spec.md | ||
| - Puffin spec: puffin-spec.md | ||
| - AES GCM Stream spec: gcm-stream-spec.md | ||
| - Implementation status: status.md | ||
|
|
||
| exclude_docs: | | ||
| !.asf.yaml | ||
| docs/ | ||
| javadoc/ | ||
| !docs/nightly/ | ||
| !javadoc/nightly/ | ||
| !docs/latest/ | ||
| !javadoc/latest/ | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm wondering whether we can avoid copying other parts of
mkdocs.yml. It will be easier to maintain.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
agreed, this is more of a short term solution. both
nightlyandlatestare just sym links to the actual "latest version" (1.10).long term i want to explore using mike for versioning