diff --git a/labs-apoc.yml b/labs-apoc.yml new file mode 100644 index 0000000..3c81d01 --- /dev/null +++ b/labs-apoc.yml @@ -0,0 +1,34 @@ +site: + title: Neo4j Labs Docs + url: /labs/docs + +content: + sources: + - url: https://github.com/neo4j-contrib/neo4j-apoc-procedures + branches: ['5.16', '4.4', '4.3', '4.2', '4.1', '4.0'] + start_path: docs/asciidoc + +output: + dir: ./build/site/labs/ + +ui: + bundle: + url: https://d12wh7zj8x3amw.cloudfront.net/build/ui-bundle-latest.zip + snapshot: true + +urls: + html_extension_style: indexify + +asciidoc: + extensions: + - "@neo4j-antora/antora-add-notes" + - ./extensions/remote-include/remote-include-processor + - ./extensions/macros/macros + attributes: + experimental: '' + page-cdn: /static/assets + page-theme: labs + page-mixpanel: 4bfb2414ab973c741b6f067bf06d5575 + page-add-notes-module: notes@ + page-add-notes-tags: core-warning@ + page-add-notes-versions: ['5'] diff --git a/labs-docs.yml b/labs-docs.yml index eb988b0..9bae5dc 100644 --- a/labs-docs.yml +++ b/labs-docs.yml @@ -7,9 +7,9 @@ content: - url: https://github.com/neo4j-contrib/neo4j-helm.git branches: ['master'] start_path: doc/docs - - url: https://github.com/neo4j-contrib/neo4j-apoc-procedures - branches: ['5.16', '4.4', '4.3', '4.2', '4.1', '4.0'] - start_path: docs/asciidoc + # - url: https://github.com/neo4j-contrib/neo4j-apoc-procedures + # branches: ['5.16', '4.4', '4.3', '4.2', '4.1', '4.0'] + # start_path: docs/asciidoc - url: https://github.com/neo4j-labs/neosemantics branches: ['5.14','4.3', '4.2', '4.1', '4.0'] start_path: docs diff --git a/package.json b/package.json index 7685c83..ed20d11 100644 --- a/package.json +++ b/package.json @@ -12,13 +12,14 @@ "start": "node server.js", "build": "npm run build:preview", "build:preview": "npm run preview:developer && npm run preview:labs && npm run preview:kb && npm run preview:graphgist && npm run preview:usecases", - "preview:developer": "antora --fetch --stacktrace --ui-bundle-url https://s3-eu-west-1.amazonaws.com/static-content.neo4j.com/build/ui-bundle.zip developer.yml", - "preview:labs": "antora --fetch --stacktrace --ui-bundle-url https://s3-eu-west-1.amazonaws.com/static-content.neo4j.com/build/ui-bundle.zip labs-docs.yml", - "preview:kb": "antora --fetch --stacktrace --ui-bundle-url https://s3-eu-west-1.amazonaws.com/static-content.neo4j.com/build/ui-bundle.zip kb.yml", - "preview:usecases": "antora --fetch --stacktrace --ui-bundle-url https://s3-eu-west-1.amazonaws.com/static-content.neo4j.com/build/ui-bundle.zip use-cases.yml", - "preview:training": "antora --fetch --stacktrace --ui-bundle-url https://s3-eu-west-1.amazonaws.com/static-content.neo4j.com/build/ui-bundle.zip training.yml", - "preview:graphgist": "antora --fetch --stacktrace --ui-bundle-url https://s3-eu-west-1.amazonaws.com/static-content.neo4j.com/build/ui-bundle.zip graphgist.yml", - "build:production": "npm run production:labs && npm run production:labs-landing && npm run production:kb && npm run production:graphgist && npm run production:usecases", + "preview:developer": "antora --fetch --stacktrace --ui-bundle-url https://static-content.neo4j.com/build/ui-bundle.zip developer.yml", + "preview:labs": "antora --fetch --stacktrace --ui-bundle-url https://static-content.neo4j.com/build/ui-bundle.zip labs-docs.yml", + "preview:kb": "antora --fetch --stacktrace --ui-bundle-url https://static-content.neo4j.com/build/ui-bundle.zip kb.yml", + "preview:usecases": "antora --fetch --stacktrace --ui-bundle-url https://static-content.neo4j.com/build/ui-bundle.zip use-cases.yml", + "preview:training": "antora --fetch --stacktrace --ui-bundle-url https://static-content.neo4j.com/build/ui-bundle.zip training.yml", + "preview:graphgist": "antora --fetch --stacktrace --ui-bundle-url https://static-content.neo4j.com/build/ui-bundle.zip graphgist.yml", + "build:production": "npm run production:apoc && npm run production:labs && npm run production:labs-landing && npm run production:kb && npm run production:graphgist && npm run production:usecases", + "production:apoc": "antora --fetch --stacktrace labs-apoc.yml", "production:developer": "antora --fetch --stacktrace developer.yml", "production:labs": "antora --fetch --stacktrace labs-docs.yml", "production:labs-landing": "antora --fetch --stacktrace labs.yml ", @@ -39,6 +40,7 @@ "@antora/cli": "~3.1", "@antora/site-generator-default": "~3.1", "@antora/xref-validator": "gitlab:antora/xref-validator", + "@neo4j-antora/antora-add-notes": "^0.3.1", "@neo4j-documentation/antora-graphgist-extension": "github:neo4j-documentation/antora-graphgist-extension", "@neo4j-documentation/antora-knowledge-base-extension": "github:neo4j-documentation/antora-knowledge-base-extension", "@neo4j-documentation/antora-training-extension": "github:neo4j-documentation/antora-training-extension",