Skip to content
This repository has been archived by the owner on Nov 17, 2020. It is now read-only.

neo4j-documentation/neo4j-labs-pages

Repository files navigation

neo4j-labs-pages

neo4j.com/labs pages.

Important AsciiDoc attributes

To publish to WordPress we are using the following AsciiDoc attributes:

  • slug: A unique page slug (defined on each document).
  • parent-path: The path of the parent page (defined in build.gradle). In this case, we are using the value /labs.

Stage

The publication stage is either production or testing. You can define the stage using a project property via the -P command line option:

-Pstage=testing

In testing, the slug is automatically prefixed by _testing_. It allows to publish a "testing" page without interfering with the "production" page (because we are using two distinct slugs).

Tasks

Convert to HTML:

./gradlew convert

Clean:

./gradlew clean

Publish to WordPress in "testing":

./gradlew wordPressUpload -Pwordpress-host="neo4j.com" -Pwordpress-username={{username}} -Pwordpress-password={{password}} -Pstage=testing 

Publish to WordPress in "production":

./gradlew wordPressUpload -Pwordpress-host="neo4j.com" -Pwordpress-username={{username}} -Pwordpress-password={{password}} -Pstage=production 

NOTE: You must replace {{username}} and {{password}} in the above command.

About

neo4j.com sub-section for neo4j-labs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published