Skip to content

Commit

Permalink
Add core vs extended warning (#3719)
Browse files Browse the repository at this point in the history
* Add notes package

* Add warning to all pages

* Remove existing warnings

* Update docs/asciidoc/modules/notes/partials/notes.adoc

Use emphasis (bold) for APOC Core and APOC Extended

Co-authored-by: David Oliver <[email protected]>
  • Loading branch information
2 people authored and vga91 committed Aug 23, 2023
1 parent b3fae2d commit ba3ee96
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 20 deletions.
11 changes: 11 additions & 0 deletions docs/antora/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions docs/antora/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"dependencies": {
"@antora/cli": "^3.1.1",
"@antora/site-generator-default": "^3.1.1",
"@neo4j-antora/antora-add-notes": "^0.3.0",
"@neo4j-documentation/macros": "^1.0.0",
"@neo4j-documentation/remote-include": "^1.0.0",
"express": "^4.17.1",
Expand Down
7 changes: 5 additions & 2 deletions docs/antora/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,18 @@ content:
- '!**/README.adoc'
ui:
bundle:
url: https://s3-eu-west-1.amazonaws.com/static-content.neo4j.com/build/ui-bundle.zip
url: https://static-content.neo4j.com/build/ui-bundle.zip
snapshot: true

urls:
html_extension_style: indexify
asciidoc:
extensions:
- "@neo4j-antora/antora-add-notes"
- "@neo4j-documentation/remote-include"
- "@neo4j-documentation/macros"
attributes:
page-theme: labs
page-disabletracking: true
page-disabletracking: true
page-add-notes-module: notes@
page-add-notes-tags: core-warning@
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,6 @@
= Deprecations and additions
:description: This chapter lists all the features that have been removed, deprecated, added or extended in the recent versions of APOC.

[WARNING]
====
This is the page for APOC Extended documentation.
For the officially supported APOC Core, go to the https://neo4j.com/docs/apoc/{branch}/deprecations-and-additions/[APOC Core page].
====

This chapter lists all the features that have been removed, deprecated, added or extended in the recent versions of APOC.

[[apoc-deprecations-additions-removals-5.0]]
Expand Down
5 changes: 0 additions & 5 deletions docs/asciidoc/modules/ROOT/pages/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@
:gh-docs: https://neo4j-contrib.github.io/neo4j-apoc-procedures
:description: This is the APOC Extended user guide, authored by the Neo4j Labs Team.

[WARNING]
====
This is the page for APOC Extended documentation.
For the officially supported APOC Core, go to the https://neo4j.com/docs/apoc/{branch}/[APOC Core page].
====

The guide covers the following areas:

Expand Down
7 changes: 0 additions & 7 deletions docs/asciidoc/modules/ROOT/pages/overview/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,4 @@
= Procedures & Functions
:description: This chapter provides a reference of all the procedures and functions in the APOC Extended library.


[WARNING]
====
This is the page for APOC Extended documentation.
For the officially supported APOC Core, go to the https://neo4j.com/docs/apoc/{branch}/overview/[APOC Core page].
====

include::partial$generated-documentation/documentation.adoc[]
9 changes: 9 additions & 0 deletions docs/asciidoc/modules/notes/partials/notes.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# tag::core-warning[]
[WARNING]
====
This is the *APOC Extended* documentation.

APOC Extended is not supported by Neo4j.
For the officially supported *APOC Core*, go to the link:https://neo4j.com/docs/apoc/[APOC Core page].
====
# end::core-warning[]

0 comments on commit ba3ee96

Please sign in to comment.