jbarrasa / neo4j-labs-pages

neo4j.com sub-section for neo4j-labs

Home Page:https://neo4j.com/labs/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

https://neo4j.com/labs/


Languages

Language:HTML 66.9%Language:Ruby 33.1%