Skip to content

Commit 2c4a33b

Browse files
committed
Add documentation about adding the upgrade guide
1 parent b1e5010 commit 2c4a33b

File tree

3 files changed

+15
-7
lines changed

3 files changed

+15
-7
lines changed

datafusion/core/src/lib.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1026,12 +1026,6 @@ doc_comment::doctest!(
10261026
library_user_guide_adding_udfs
10271027
);
10281028

1029-
#[cfg(doctest)]
1030-
doc_comment::doctest!(
1031-
"../../../docs/source/library-user-guide/api-health.md",
1032-
library_user_guide_api_health
1033-
);
1034-
10351029
#[cfg(doctest)]
10361030
doc_comment::doctest!(
10371031
"../../../docs/source/library-user-guide/building-logical-plans.md",
@@ -1103,3 +1097,9 @@ doc_comment::doctest!(
11031097
"../../../docs/source/library-user-guide/upgrading.md",
11041098
library_user_guide_upgrading
11051099
);
1100+
1101+
#[cfg(doctest)]
1102+
doc_comment::doctest!(
1103+
"../../../docs/source/contributor-guide/api-health.md",
1104+
contributor_guide_api_health
1105+
);

docs/source/library-user-guide/api-health.md renamed to docs/source/contributor-guide/api-health.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@ breaking API changes, but they are sometimes necessary.
2626
When possible, rather than making breaking API changes, we prefer to deprecate
2727
APIs to give users time to adjust to the changes.
2828

29+
## Upgrade Guides
30+
31+
When making changes that require DataFusion users to make changes to their code
32+
as part of an upgrade please consider adding documentation to the version
33+
specific [Upgrade Guide]
34+
35+
[upgrade guide]: ../library-user-guide/upgrading.md
36+
2937
## Breaking Changes
3038

3139
In general, a function is part of the public API if it appears on the [docs.rs page]

docs/source/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ To get started, see
132132
library-user-guide/extending-operators
133133
library-user-guide/profiling
134134
library-user-guide/query-optimizer
135-
library-user-guide/api-health
136135
library-user-guide/upgrading
137136

138137
.. .. _toc.contributor-guide:
@@ -146,6 +145,7 @@ To get started, see
146145
contributor-guide/development_environment
147146
contributor-guide/architecture
148147
contributor-guide/testing
148+
contributor-guide/api-health
149149
contributor-guide/howtos
150150
contributor-guide/roadmap
151151
contributor-guide/governance

0 commit comments

Comments
 (0)