You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by me...@apache.org on 2016/03/02 01:40:33 UTC

[1/2] mesos git commit: Updated support/generate-endpoint-help.py to include title.

Repository: mesos
Updated Branches:
  refs/heads/master de5f27e16 -> 7d33bace1


Updated support/generate-endpoint-help.py to include title.

The support/generate-endpoint-help.py script now adds a title to every
generated endpoint markdown file.

Review: https://reviews.apache.org/r/43715/


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/01d472d8
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/01d472d8
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/01d472d8

Branch: refs/heads/master
Commit: 01d472d8c0e28e917c7d58f61588f4d6069dcd14
Parents: de5f27e
Author: Abhishek Dasgupta <a1...@linux.vnet.ibm.com>
Authored: Tue Mar 1 16:36:57 2016 -0800
Committer: Adam B <ad...@mesosphere.io>
Committed: Tue Mar 1 16:36:57 2016 -0800

----------------------------------------------------------------------
 support/generate-endpoint-help.py | 21 ++++++++++++++-------
 1 file changed, 14 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/01d472d8/support/generate-endpoint-help.py
----------------------------------------------------------------------
diff --git a/support/generate-endpoint-help.py b/support/generate-endpoint-help.py
old mode 100755
new mode 100644
index b32f746..cb60811
--- a/support/generate-endpoint-help.py
+++ b/support/generate-endpoint-help.py
@@ -45,9 +45,16 @@ AGENT_COMMAND = [
 
 # A header to add onto all generated markdown files.
 MARKDOWN_HEADER = (
-'<!--- This is an automatically generated file. DO NOT EDIT! --->\n'
+"""---
+title: %s
+layout: documentation
+---
+<!--- This is an automatically generated file. DO NOT EDIT! --->
+"""
 )
 
+# A template of the title to add onto all generated markdown files.
+MARKDOWN_TITLE = "Apache Mesos - HTTP Endpoints%s"
 
 # A global timeout as well as a retry interval when hitting any http
 # endpoints on the master or agent (in seconds).
@@ -169,7 +176,7 @@ def get_relative_md_path(id, name):
     return os.path.join(new_id + '.md')
 
 
-def write_markdown(path, output):
+def write_markdown(path, output, title):
   """Writes 'output' to the file at 'path'."""
   print 'generating: %s' % (path)
 
@@ -181,7 +188,7 @@ def write_markdown(path, output):
 
   # Add our header and remove all '\n's at the end of the output if
   # there are any.
-  output = MARKDOWN_HEADER + '\n' + output.rstrip()
+  output = (MARKDOWN_HEADER % title) + '\n' + output.rstrip()
 
   outfile.write(output)
   outfile.close()
@@ -199,8 +206,7 @@ def dump_index_markdown(master_help, agent_help):
   # strings contained in the "Master Endpoints" and "Agent Endpoints"
   # sections of this template.
   output = (
-"""
-# HTTP Endpoints #
+"""# HTTP Endpoints #
 
 Below is a list of HTTP endpoints available for a given Mesos process.
 
@@ -265,7 +271,7 @@ For example, http://agent.com:5051/files/browse
                      generate_links(agent_help))
 
   path = os.path.join(options['output_path'], 'index.md')
-  write_markdown(path, output)
+  write_markdown(path, output, MARKDOWN_TITLE % "")
 
 
 def dump_markdown(help):
@@ -279,10 +285,11 @@ def dump_markdown(help):
     for endpoint in process['endpoints']:
       name = endpoint['name']
       text = endpoint['text']
+      title = get_endpoint_path(id, name)
 
       relative_path = get_relative_md_path(id, name)
       path = os.path.join(options['output_path'], relative_path)
-      write_markdown(path, text)
+      write_markdown(path, text, MARKDOWN_TITLE % (" - " + title))
 
 
 def start_master():


[2/2] mesos git commit: Added title to every endpoint markdown doc.

Posted by me...@apache.org.
Added title to every endpoint markdown doc.

Review: https://reviews.apache.org/r/43716/


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/7d33bace
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/7d33bace
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/7d33bace

Branch: refs/heads/master
Commit: 7d33bace1c956497fd6992917ffb67aa96fe30f1
Parents: 01d472d
Author: Abhishek Dasgupta <a1...@linux.vnet.ibm.com>
Authored: Tue Mar 1 16:38:48 2016 -0800
Committer: Adam B <ad...@mesosphere.io>
Committed: Tue Mar 1 16:38:48 2016 -0800

----------------------------------------------------------------------
 docs/endpoints/files/browse.json.md           | 4 ++++
 docs/endpoints/files/browse.md                | 4 ++++
 docs/endpoints/files/debug.json.md            | 4 ++++
 docs/endpoints/files/debug.md                 | 4 ++++
 docs/endpoints/files/download.json.md         | 4 ++++
 docs/endpoints/files/download.md              | 4 ++++
 docs/endpoints/files/read.json.md             | 4 ++++
 docs/endpoints/files/read.md                  | 4 ++++
 docs/endpoints/index.md                       | 5 ++++-
 docs/endpoints/logging/toggle.md              | 4 ++++
 docs/endpoints/master/api/v1/scheduler.md     | 4 ++++
 docs/endpoints/master/create-volumes.md       | 4 ++++
 docs/endpoints/master/destroy-volumes.md      | 4 ++++
 docs/endpoints/master/flags.md                | 4 ++++
 docs/endpoints/master/frameworks.md           | 4 ++++
 docs/endpoints/master/health.md               | 4 ++++
 docs/endpoints/master/machine/down.md         | 4 ++++
 docs/endpoints/master/machine/up.md           | 4 ++++
 docs/endpoints/master/maintenance/schedule.md | 4 ++++
 docs/endpoints/master/maintenance/status.md   | 4 ++++
 docs/endpoints/master/observe.md              | 4 ++++
 docs/endpoints/master/quota.md                | 4 ++++
 docs/endpoints/master/redirect.md             | 4 ++++
 docs/endpoints/master/reserve.md              | 4 ++++
 docs/endpoints/master/roles.json.md           | 4 ++++
 docs/endpoints/master/roles.md                | 4 ++++
 docs/endpoints/master/slaves.md               | 4 ++++
 docs/endpoints/master/state-summary.md        | 4 ++++
 docs/endpoints/master/state.json.md           | 4 ++++
 docs/endpoints/master/state.md                | 4 ++++
 docs/endpoints/master/tasks.json.md           | 4 ++++
 docs/endpoints/master/tasks.md                | 4 ++++
 docs/endpoints/master/teardown.md             | 4 ++++
 docs/endpoints/master/unreserve.md            | 4 ++++
 docs/endpoints/metrics/snapshot.md            | 4 ++++
 docs/endpoints/monitor/statistics.json.md     | 4 ++++
 docs/endpoints/monitor/statistics.md          | 4 ++++
 docs/endpoints/profiler/start.md              | 4 ++++
 docs/endpoints/profiler/stop.md               | 4 ++++
 docs/endpoints/registrar/registry.md          | 4 ++++
 docs/endpoints/slave/api/v1/executor.md       | 4 ++++
 docs/endpoints/slave/flags.md                 | 4 ++++
 docs/endpoints/slave/health.md                | 4 ++++
 docs/endpoints/slave/state.json.md            | 4 ++++
 docs/endpoints/slave/state.md                 | 4 ++++
 docs/endpoints/system/stats.json.md           | 4 ++++
 docs/endpoints/version.md                     | 4 ++++
 47 files changed, 188 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/7d33bace/docs/endpoints/files/browse.json.md
----------------------------------------------------------------------
diff --git a/docs/endpoints/files/browse.json.md b/docs/endpoints/files/browse.json.md
index 7c70493..ee2f48f 100644
--- a/docs/endpoints/files/browse.json.md
+++ b/docs/endpoints/files/browse.json.md
@@ -1,3 +1,7 @@
+---
+title: Apache Mesos - HTTP Endpoints - /files/browse.json
+layout: documentation
+---
 <!--- This is an automatically generated file. DO NOT EDIT! --->
 
 ### USAGE ###

http://git-wip-us.apache.org/repos/asf/mesos/blob/7d33bace/docs/endpoints/files/browse.md
----------------------------------------------------------------------
diff --git a/docs/endpoints/files/browse.md b/docs/endpoints/files/browse.md
index 5aa685a..3060c5b 100644
--- a/docs/endpoints/files/browse.md
+++ b/docs/endpoints/files/browse.md
@@ -1,3 +1,7 @@
+---
+title: Apache Mesos - HTTP Endpoints - /files/browse
+layout: documentation
+---
 <!--- This is an automatically generated file. DO NOT EDIT! --->
 
 ### USAGE ###

http://git-wip-us.apache.org/repos/asf/mesos/blob/7d33bace/docs/endpoints/files/debug.json.md
----------------------------------------------------------------------
diff --git a/docs/endpoints/files/debug.json.md b/docs/endpoints/files/debug.json.md
index 3e41fec..7e367b3 100644
--- a/docs/endpoints/files/debug.json.md
+++ b/docs/endpoints/files/debug.json.md
@@ -1,3 +1,7 @@
+---
+title: Apache Mesos - HTTP Endpoints - /files/debug.json
+layout: documentation
+---
 <!--- This is an automatically generated file. DO NOT EDIT! --->
 
 ### USAGE ###

http://git-wip-us.apache.org/repos/asf/mesos/blob/7d33bace/docs/endpoints/files/debug.md
----------------------------------------------------------------------
diff --git a/docs/endpoints/files/debug.md b/docs/endpoints/files/debug.md
index f3ff381..31d3446 100644
--- a/docs/endpoints/files/debug.md
+++ b/docs/endpoints/files/debug.md
@@ -1,3 +1,7 @@
+---
+title: Apache Mesos - HTTP Endpoints - /files/debug
+layout: documentation
+---
 <!--- This is an automatically generated file. DO NOT EDIT! --->
 
 ### USAGE ###

http://git-wip-us.apache.org/repos/asf/mesos/blob/7d33bace/docs/endpoints/files/download.json.md
----------------------------------------------------------------------
diff --git a/docs/endpoints/files/download.json.md b/docs/endpoints/files/download.json.md
index 77c6b97..6b73f29 100644
--- a/docs/endpoints/files/download.json.md
+++ b/docs/endpoints/files/download.json.md
@@ -1,3 +1,7 @@
+---
+title: Apache Mesos - HTTP Endpoints - /files/download.json
+layout: documentation
+---
 <!--- This is an automatically generated file. DO NOT EDIT! --->
 
 ### USAGE ###

http://git-wip-us.apache.org/repos/asf/mesos/blob/7d33bace/docs/endpoints/files/download.md
----------------------------------------------------------------------
diff --git a/docs/endpoints/files/download.md b/docs/endpoints/files/download.md
index 2b8b3f5..17cdb26 100644
--- a/docs/endpoints/files/download.md
+++ b/docs/endpoints/files/download.md
@@ -1,3 +1,7 @@
+---
+title: Apache Mesos - HTTP Endpoints - /files/download
+layout: documentation
+---
 <!--- This is an automatically generated file. DO NOT EDIT! --->
 
 ### USAGE ###

http://git-wip-us.apache.org/repos/asf/mesos/blob/7d33bace/docs/endpoints/files/read.json.md
----------------------------------------------------------------------
diff --git a/docs/endpoints/files/read.json.md b/docs/endpoints/files/read.json.md
index f86f227..c4d5967 100644
--- a/docs/endpoints/files/read.json.md
+++ b/docs/endpoints/files/read.json.md
@@ -1,3 +1,7 @@
+---
+title: Apache Mesos - HTTP Endpoints - /files/read.json
+layout: documentation
+---
 <!--- This is an automatically generated file. DO NOT EDIT! --->
 
 ### USAGE ###

http://git-wip-us.apache.org/repos/asf/mesos/blob/7d33bace/docs/endpoints/files/read.md
----------------------------------------------------------------------
diff --git a/docs/endpoints/files/read.md b/docs/endpoints/files/read.md
index 31dd90c..2e1ffac 100644
--- a/docs/endpoints/files/read.md
+++ b/docs/endpoints/files/read.md
@@ -1,3 +1,7 @@
+---
+title: Apache Mesos - HTTP Endpoints - /files/read
+layout: documentation
+---
 <!--- This is an automatically generated file. DO NOT EDIT! --->
 
 ### USAGE ###

http://git-wip-us.apache.org/repos/asf/mesos/blob/7d33bace/docs/endpoints/index.md
----------------------------------------------------------------------
diff --git a/docs/endpoints/index.md b/docs/endpoints/index.md
index 69d2157..bd70819 100644
--- a/docs/endpoints/index.md
+++ b/docs/endpoints/index.md
@@ -1,6 +1,9 @@
+---
+title: Apache Mesos - HTTP Endpoints
+layout: documentation
+---
 <!--- This is an automatically generated file. DO NOT EDIT! --->
 
-
 # HTTP Endpoints #
 
 Below is a list of HTTP endpoints available for a given Mesos process.

http://git-wip-us.apache.org/repos/asf/mesos/blob/7d33bace/docs/endpoints/logging/toggle.md
----------------------------------------------------------------------
diff --git a/docs/endpoints/logging/toggle.md b/docs/endpoints/logging/toggle.md
index baa4d1b..f76accd 100644
--- a/docs/endpoints/logging/toggle.md
+++ b/docs/endpoints/logging/toggle.md
@@ -1,3 +1,7 @@
+---
+title: Apache Mesos - HTTP Endpoints - /logging/toggle
+layout: documentation
+---
 <!--- This is an automatically generated file. DO NOT EDIT! --->
 
 ### USAGE ###

http://git-wip-us.apache.org/repos/asf/mesos/blob/7d33bace/docs/endpoints/master/api/v1/scheduler.md
----------------------------------------------------------------------
diff --git a/docs/endpoints/master/api/v1/scheduler.md b/docs/endpoints/master/api/v1/scheduler.md
index 6faa1c2..33c3101 100644
--- a/docs/endpoints/master/api/v1/scheduler.md
+++ b/docs/endpoints/master/api/v1/scheduler.md
@@ -1,3 +1,7 @@
+---
+title: Apache Mesos - HTTP Endpoints - /master/api/v1/scheduler
+layout: documentation
+---
 <!--- This is an automatically generated file. DO NOT EDIT! --->
 
 ### USAGE ###

http://git-wip-us.apache.org/repos/asf/mesos/blob/7d33bace/docs/endpoints/master/create-volumes.md
----------------------------------------------------------------------
diff --git a/docs/endpoints/master/create-volumes.md b/docs/endpoints/master/create-volumes.md
index 1e8fd20..542f555 100644
--- a/docs/endpoints/master/create-volumes.md
+++ b/docs/endpoints/master/create-volumes.md
@@ -1,3 +1,7 @@
+---
+title: Apache Mesos - HTTP Endpoints - /master/create-volumes
+layout: documentation
+---
 <!--- This is an automatically generated file. DO NOT EDIT! --->
 
 ### USAGE ###

http://git-wip-us.apache.org/repos/asf/mesos/blob/7d33bace/docs/endpoints/master/destroy-volumes.md
----------------------------------------------------------------------
diff --git a/docs/endpoints/master/destroy-volumes.md b/docs/endpoints/master/destroy-volumes.md
index 7209a7c..d5d9819 100644
--- a/docs/endpoints/master/destroy-volumes.md
+++ b/docs/endpoints/master/destroy-volumes.md
@@ -1,3 +1,7 @@
+---
+title: Apache Mesos - HTTP Endpoints - /master/destroy-volumes
+layout: documentation
+---
 <!--- This is an automatically generated file. DO NOT EDIT! --->
 
 ### USAGE ###

http://git-wip-us.apache.org/repos/asf/mesos/blob/7d33bace/docs/endpoints/master/flags.md
----------------------------------------------------------------------
diff --git a/docs/endpoints/master/flags.md b/docs/endpoints/master/flags.md
index b63b6e2..5d2680d 100644
--- a/docs/endpoints/master/flags.md
+++ b/docs/endpoints/master/flags.md
@@ -1,3 +1,7 @@
+---
+title: Apache Mesos - HTTP Endpoints - /master/flags
+layout: documentation
+---
 <!--- This is an automatically generated file. DO NOT EDIT! --->
 
 ### USAGE ###

http://git-wip-us.apache.org/repos/asf/mesos/blob/7d33bace/docs/endpoints/master/frameworks.md
----------------------------------------------------------------------
diff --git a/docs/endpoints/master/frameworks.md b/docs/endpoints/master/frameworks.md
index bc21f1e..16c7dcf 100644
--- a/docs/endpoints/master/frameworks.md
+++ b/docs/endpoints/master/frameworks.md
@@ -1,3 +1,7 @@
+---
+title: Apache Mesos - HTTP Endpoints - /master/frameworks
+layout: documentation
+---
 <!--- This is an automatically generated file. DO NOT EDIT! --->
 
 ### USAGE ###

http://git-wip-us.apache.org/repos/asf/mesos/blob/7d33bace/docs/endpoints/master/health.md
----------------------------------------------------------------------
diff --git a/docs/endpoints/master/health.md b/docs/endpoints/master/health.md
index 39af4f9..a73c64e 100644
--- a/docs/endpoints/master/health.md
+++ b/docs/endpoints/master/health.md
@@ -1,3 +1,7 @@
+---
+title: Apache Mesos - HTTP Endpoints - /master/health
+layout: documentation
+---
 <!--- This is an automatically generated file. DO NOT EDIT! --->
 
 ### USAGE ###

http://git-wip-us.apache.org/repos/asf/mesos/blob/7d33bace/docs/endpoints/master/machine/down.md
----------------------------------------------------------------------
diff --git a/docs/endpoints/master/machine/down.md b/docs/endpoints/master/machine/down.md
index 82cce61..ed29235 100644
--- a/docs/endpoints/master/machine/down.md
+++ b/docs/endpoints/master/machine/down.md
@@ -1,3 +1,7 @@
+---
+title: Apache Mesos - HTTP Endpoints - /master/machine/down
+layout: documentation
+---
 <!--- This is an automatically generated file. DO NOT EDIT! --->
 
 ### USAGE ###

http://git-wip-us.apache.org/repos/asf/mesos/blob/7d33bace/docs/endpoints/master/machine/up.md
----------------------------------------------------------------------
diff --git a/docs/endpoints/master/machine/up.md b/docs/endpoints/master/machine/up.md
index 5bfd95e..01dac5d 100644
--- a/docs/endpoints/master/machine/up.md
+++ b/docs/endpoints/master/machine/up.md
@@ -1,3 +1,7 @@
+---
+title: Apache Mesos - HTTP Endpoints - /master/machine/up
+layout: documentation
+---
 <!--- This is an automatically generated file. DO NOT EDIT! --->
 
 ### USAGE ###

http://git-wip-us.apache.org/repos/asf/mesos/blob/7d33bace/docs/endpoints/master/maintenance/schedule.md
----------------------------------------------------------------------
diff --git a/docs/endpoints/master/maintenance/schedule.md b/docs/endpoints/master/maintenance/schedule.md
index e91ee81..81c34f5 100644
--- a/docs/endpoints/master/maintenance/schedule.md
+++ b/docs/endpoints/master/maintenance/schedule.md
@@ -1,3 +1,7 @@
+---
+title: Apache Mesos - HTTP Endpoints - /master/maintenance/schedule
+layout: documentation
+---
 <!--- This is an automatically generated file. DO NOT EDIT! --->
 
 ### USAGE ###

http://git-wip-us.apache.org/repos/asf/mesos/blob/7d33bace/docs/endpoints/master/maintenance/status.md
----------------------------------------------------------------------
diff --git a/docs/endpoints/master/maintenance/status.md b/docs/endpoints/master/maintenance/status.md
index 17e3eef..6ccc534 100644
--- a/docs/endpoints/master/maintenance/status.md
+++ b/docs/endpoints/master/maintenance/status.md
@@ -1,3 +1,7 @@
+---
+title: Apache Mesos - HTTP Endpoints - /master/maintenance/status
+layout: documentation
+---
 <!--- This is an automatically generated file. DO NOT EDIT! --->
 
 ### USAGE ###

http://git-wip-us.apache.org/repos/asf/mesos/blob/7d33bace/docs/endpoints/master/observe.md
----------------------------------------------------------------------
diff --git a/docs/endpoints/master/observe.md b/docs/endpoints/master/observe.md
index acdc18c..bb57fac 100644
--- a/docs/endpoints/master/observe.md
+++ b/docs/endpoints/master/observe.md
@@ -1,3 +1,7 @@
+---
+title: Apache Mesos - HTTP Endpoints - /master/observe
+layout: documentation
+---
 <!--- This is an automatically generated file. DO NOT EDIT! --->
 
 ### USAGE ###

http://git-wip-us.apache.org/repos/asf/mesos/blob/7d33bace/docs/endpoints/master/quota.md
----------------------------------------------------------------------
diff --git a/docs/endpoints/master/quota.md b/docs/endpoints/master/quota.md
index 26c7bb1..7e7b30c 100644
--- a/docs/endpoints/master/quota.md
+++ b/docs/endpoints/master/quota.md
@@ -1,3 +1,7 @@
+---
+title: Apache Mesos - HTTP Endpoints - /master/quota
+layout: documentation
+---
 <!--- This is an automatically generated file. DO NOT EDIT! --->
 
 ### USAGE ###

http://git-wip-us.apache.org/repos/asf/mesos/blob/7d33bace/docs/endpoints/master/redirect.md
----------------------------------------------------------------------
diff --git a/docs/endpoints/master/redirect.md b/docs/endpoints/master/redirect.md
index 4a230e4..65041c6 100644
--- a/docs/endpoints/master/redirect.md
+++ b/docs/endpoints/master/redirect.md
@@ -1,3 +1,7 @@
+---
+title: Apache Mesos - HTTP Endpoints - /master/redirect
+layout: documentation
+---
 <!--- This is an automatically generated file. DO NOT EDIT! --->
 
 ### USAGE ###

http://git-wip-us.apache.org/repos/asf/mesos/blob/7d33bace/docs/endpoints/master/reserve.md
----------------------------------------------------------------------
diff --git a/docs/endpoints/master/reserve.md b/docs/endpoints/master/reserve.md
index a71eb8e..3e2a857 100644
--- a/docs/endpoints/master/reserve.md
+++ b/docs/endpoints/master/reserve.md
@@ -1,3 +1,7 @@
+---
+title: Apache Mesos - HTTP Endpoints - /master/reserve
+layout: documentation
+---
 <!--- This is an automatically generated file. DO NOT EDIT! --->
 
 ### USAGE ###

http://git-wip-us.apache.org/repos/asf/mesos/blob/7d33bace/docs/endpoints/master/roles.json.md
----------------------------------------------------------------------
diff --git a/docs/endpoints/master/roles.json.md b/docs/endpoints/master/roles.json.md
index bbeac1d..f1d703b 100644
--- a/docs/endpoints/master/roles.json.md
+++ b/docs/endpoints/master/roles.json.md
@@ -1,3 +1,7 @@
+---
+title: Apache Mesos - HTTP Endpoints - /master/roles.json
+layout: documentation
+---
 <!--- This is an automatically generated file. DO NOT EDIT! --->
 
 ### USAGE ###

http://git-wip-us.apache.org/repos/asf/mesos/blob/7d33bace/docs/endpoints/master/roles.md
----------------------------------------------------------------------
diff --git a/docs/endpoints/master/roles.md b/docs/endpoints/master/roles.md
index d6d9bc6..37f286e 100644
--- a/docs/endpoints/master/roles.md
+++ b/docs/endpoints/master/roles.md
@@ -1,3 +1,7 @@
+---
+title: Apache Mesos - HTTP Endpoints - /master/roles
+layout: documentation
+---
 <!--- This is an automatically generated file. DO NOT EDIT! --->
 
 ### USAGE ###

http://git-wip-us.apache.org/repos/asf/mesos/blob/7d33bace/docs/endpoints/master/slaves.md
----------------------------------------------------------------------
diff --git a/docs/endpoints/master/slaves.md b/docs/endpoints/master/slaves.md
index 0be05d7..ed3efe5 100644
--- a/docs/endpoints/master/slaves.md
+++ b/docs/endpoints/master/slaves.md
@@ -1,3 +1,7 @@
+---
+title: Apache Mesos - HTTP Endpoints - /master/slaves
+layout: documentation
+---
 <!--- This is an automatically generated file. DO NOT EDIT! --->
 
 ### USAGE ###

http://git-wip-us.apache.org/repos/asf/mesos/blob/7d33bace/docs/endpoints/master/state-summary.md
----------------------------------------------------------------------
diff --git a/docs/endpoints/master/state-summary.md b/docs/endpoints/master/state-summary.md
index a6d79f0..1c3d9f5 100644
--- a/docs/endpoints/master/state-summary.md
+++ b/docs/endpoints/master/state-summary.md
@@ -1,3 +1,7 @@
+---
+title: Apache Mesos - HTTP Endpoints - /master/state-summary
+layout: documentation
+---
 <!--- This is an automatically generated file. DO NOT EDIT! --->
 
 ### USAGE ###

http://git-wip-us.apache.org/repos/asf/mesos/blob/7d33bace/docs/endpoints/master/state.json.md
----------------------------------------------------------------------
diff --git a/docs/endpoints/master/state.json.md b/docs/endpoints/master/state.json.md
index dad5627..1614ae5 100644
--- a/docs/endpoints/master/state.json.md
+++ b/docs/endpoints/master/state.json.md
@@ -1,3 +1,7 @@
+---
+title: Apache Mesos - HTTP Endpoints - /master/state.json
+layout: documentation
+---
 <!--- This is an automatically generated file. DO NOT EDIT! --->
 
 ### USAGE ###

http://git-wip-us.apache.org/repos/asf/mesos/blob/7d33bace/docs/endpoints/master/state.md
----------------------------------------------------------------------
diff --git a/docs/endpoints/master/state.md b/docs/endpoints/master/state.md
index 7fdd5f7..ffb3894 100644
--- a/docs/endpoints/master/state.md
+++ b/docs/endpoints/master/state.md
@@ -1,3 +1,7 @@
+---
+title: Apache Mesos - HTTP Endpoints - /master/state
+layout: documentation
+---
 <!--- This is an automatically generated file. DO NOT EDIT! --->
 
 ### USAGE ###

http://git-wip-us.apache.org/repos/asf/mesos/blob/7d33bace/docs/endpoints/master/tasks.json.md
----------------------------------------------------------------------
diff --git a/docs/endpoints/master/tasks.json.md b/docs/endpoints/master/tasks.json.md
index cb1856f..84183fc 100644
--- a/docs/endpoints/master/tasks.json.md
+++ b/docs/endpoints/master/tasks.json.md
@@ -1,3 +1,7 @@
+---
+title: Apache Mesos - HTTP Endpoints - /master/tasks.json
+layout: documentation
+---
 <!--- This is an automatically generated file. DO NOT EDIT! --->
 
 ### USAGE ###

http://git-wip-us.apache.org/repos/asf/mesos/blob/7d33bace/docs/endpoints/master/tasks.md
----------------------------------------------------------------------
diff --git a/docs/endpoints/master/tasks.md b/docs/endpoints/master/tasks.md
index e8dbf93..d85ebc8 100644
--- a/docs/endpoints/master/tasks.md
+++ b/docs/endpoints/master/tasks.md
@@ -1,3 +1,7 @@
+---
+title: Apache Mesos - HTTP Endpoints - /master/tasks
+layout: documentation
+---
 <!--- This is an automatically generated file. DO NOT EDIT! --->
 
 ### USAGE ###

http://git-wip-us.apache.org/repos/asf/mesos/blob/7d33bace/docs/endpoints/master/teardown.md
----------------------------------------------------------------------
diff --git a/docs/endpoints/master/teardown.md b/docs/endpoints/master/teardown.md
index 9cd8639..5d759ef 100644
--- a/docs/endpoints/master/teardown.md
+++ b/docs/endpoints/master/teardown.md
@@ -1,3 +1,7 @@
+---
+title: Apache Mesos - HTTP Endpoints - /master/teardown
+layout: documentation
+---
 <!--- This is an automatically generated file. DO NOT EDIT! --->
 
 ### USAGE ###

http://git-wip-us.apache.org/repos/asf/mesos/blob/7d33bace/docs/endpoints/master/unreserve.md
----------------------------------------------------------------------
diff --git a/docs/endpoints/master/unreserve.md b/docs/endpoints/master/unreserve.md
index 5de7734..d26ae7c 100644
--- a/docs/endpoints/master/unreserve.md
+++ b/docs/endpoints/master/unreserve.md
@@ -1,3 +1,7 @@
+---
+title: Apache Mesos - HTTP Endpoints - /master/unreserve
+layout: documentation
+---
 <!--- This is an automatically generated file. DO NOT EDIT! --->
 
 ### USAGE ###

http://git-wip-us.apache.org/repos/asf/mesos/blob/7d33bace/docs/endpoints/metrics/snapshot.md
----------------------------------------------------------------------
diff --git a/docs/endpoints/metrics/snapshot.md b/docs/endpoints/metrics/snapshot.md
index ab37ab4..7d3a7ef 100644
--- a/docs/endpoints/metrics/snapshot.md
+++ b/docs/endpoints/metrics/snapshot.md
@@ -1,3 +1,7 @@
+---
+title: Apache Mesos - HTTP Endpoints - /metrics/snapshot
+layout: documentation
+---
 <!--- This is an automatically generated file. DO NOT EDIT! --->
 
 ### USAGE ###

http://git-wip-us.apache.org/repos/asf/mesos/blob/7d33bace/docs/endpoints/monitor/statistics.json.md
----------------------------------------------------------------------
diff --git a/docs/endpoints/monitor/statistics.json.md b/docs/endpoints/monitor/statistics.json.md
index 5ce4fc6..1830493 100644
--- a/docs/endpoints/monitor/statistics.json.md
+++ b/docs/endpoints/monitor/statistics.json.md
@@ -1,3 +1,7 @@
+---
+title: Apache Mesos - HTTP Endpoints - /monitor/statistics.json
+layout: documentation
+---
 <!--- This is an automatically generated file. DO NOT EDIT! --->
 
 ### USAGE ###

http://git-wip-us.apache.org/repos/asf/mesos/blob/7d33bace/docs/endpoints/monitor/statistics.md
----------------------------------------------------------------------
diff --git a/docs/endpoints/monitor/statistics.md b/docs/endpoints/monitor/statistics.md
index 602104b..38dede0 100644
--- a/docs/endpoints/monitor/statistics.md
+++ b/docs/endpoints/monitor/statistics.md
@@ -1,3 +1,7 @@
+---
+title: Apache Mesos - HTTP Endpoints - /monitor/statistics
+layout: documentation
+---
 <!--- This is an automatically generated file. DO NOT EDIT! --->
 
 ### USAGE ###

http://git-wip-us.apache.org/repos/asf/mesos/blob/7d33bace/docs/endpoints/profiler/start.md
----------------------------------------------------------------------
diff --git a/docs/endpoints/profiler/start.md b/docs/endpoints/profiler/start.md
index 244fd6f..36bd0b6 100644
--- a/docs/endpoints/profiler/start.md
+++ b/docs/endpoints/profiler/start.md
@@ -1,3 +1,7 @@
+---
+title: Apache Mesos - HTTP Endpoints - /profiler/start
+layout: documentation
+---
 <!--- This is an automatically generated file. DO NOT EDIT! --->
 
 ### USAGE ###

http://git-wip-us.apache.org/repos/asf/mesos/blob/7d33bace/docs/endpoints/profiler/stop.md
----------------------------------------------------------------------
diff --git a/docs/endpoints/profiler/stop.md b/docs/endpoints/profiler/stop.md
index 6b9738a..085b852 100644
--- a/docs/endpoints/profiler/stop.md
+++ b/docs/endpoints/profiler/stop.md
@@ -1,3 +1,7 @@
+---
+title: Apache Mesos - HTTP Endpoints - /profiler/stop
+layout: documentation
+---
 <!--- This is an automatically generated file. DO NOT EDIT! --->
 
 ### USAGE ###

http://git-wip-us.apache.org/repos/asf/mesos/blob/7d33bace/docs/endpoints/registrar/registry.md
----------------------------------------------------------------------
diff --git a/docs/endpoints/registrar/registry.md b/docs/endpoints/registrar/registry.md
index 12b11fe..b3697a6 100644
--- a/docs/endpoints/registrar/registry.md
+++ b/docs/endpoints/registrar/registry.md
@@ -1,3 +1,7 @@
+---
+title: Apache Mesos - HTTP Endpoints - /registrar(id)/registry
+layout: documentation
+---
 <!--- This is an automatically generated file. DO NOT EDIT! --->
 
 ### USAGE ###

http://git-wip-us.apache.org/repos/asf/mesos/blob/7d33bace/docs/endpoints/slave/api/v1/executor.md
----------------------------------------------------------------------
diff --git a/docs/endpoints/slave/api/v1/executor.md b/docs/endpoints/slave/api/v1/executor.md
index e92df49..c4c98aa 100644
--- a/docs/endpoints/slave/api/v1/executor.md
+++ b/docs/endpoints/slave/api/v1/executor.md
@@ -1,3 +1,7 @@
+---
+title: Apache Mesos - HTTP Endpoints - /slave(id)/api/v1/executor
+layout: documentation
+---
 <!--- This is an automatically generated file. DO NOT EDIT! --->
 
 ### USAGE ###

http://git-wip-us.apache.org/repos/asf/mesos/blob/7d33bace/docs/endpoints/slave/flags.md
----------------------------------------------------------------------
diff --git a/docs/endpoints/slave/flags.md b/docs/endpoints/slave/flags.md
index 8abbc72..ffa67bd 100644
--- a/docs/endpoints/slave/flags.md
+++ b/docs/endpoints/slave/flags.md
@@ -1,3 +1,7 @@
+---
+title: Apache Mesos - HTTP Endpoints - /slave(id)/flags
+layout: documentation
+---
 <!--- This is an automatically generated file. DO NOT EDIT! --->
 
 ### USAGE ###

http://git-wip-us.apache.org/repos/asf/mesos/blob/7d33bace/docs/endpoints/slave/health.md
----------------------------------------------------------------------
diff --git a/docs/endpoints/slave/health.md b/docs/endpoints/slave/health.md
index 265dcfa..8ba85f4 100644
--- a/docs/endpoints/slave/health.md
+++ b/docs/endpoints/slave/health.md
@@ -1,3 +1,7 @@
+---
+title: Apache Mesos - HTTP Endpoints - /slave(id)/health
+layout: documentation
+---
 <!--- This is an automatically generated file. DO NOT EDIT! --->
 
 ### USAGE ###

http://git-wip-us.apache.org/repos/asf/mesos/blob/7d33bace/docs/endpoints/slave/state.json.md
----------------------------------------------------------------------
diff --git a/docs/endpoints/slave/state.json.md b/docs/endpoints/slave/state.json.md
index a6403ee..184a65f 100644
--- a/docs/endpoints/slave/state.json.md
+++ b/docs/endpoints/slave/state.json.md
@@ -1,3 +1,7 @@
+---
+title: Apache Mesos - HTTP Endpoints - /slave(id)/state.json
+layout: documentation
+---
 <!--- This is an automatically generated file. DO NOT EDIT! --->
 
 ### USAGE ###

http://git-wip-us.apache.org/repos/asf/mesos/blob/7d33bace/docs/endpoints/slave/state.md
----------------------------------------------------------------------
diff --git a/docs/endpoints/slave/state.md b/docs/endpoints/slave/state.md
index bdd555e..5618912 100644
--- a/docs/endpoints/slave/state.md
+++ b/docs/endpoints/slave/state.md
@@ -1,3 +1,7 @@
+---
+title: Apache Mesos - HTTP Endpoints - /slave(id)/state
+layout: documentation
+---
 <!--- This is an automatically generated file. DO NOT EDIT! --->
 
 ### USAGE ###

http://git-wip-us.apache.org/repos/asf/mesos/blob/7d33bace/docs/endpoints/system/stats.json.md
----------------------------------------------------------------------
diff --git a/docs/endpoints/system/stats.json.md b/docs/endpoints/system/stats.json.md
index a5fb58f..87e470a 100644
--- a/docs/endpoints/system/stats.json.md
+++ b/docs/endpoints/system/stats.json.md
@@ -1,3 +1,7 @@
+---
+title: Apache Mesos - HTTP Endpoints - /system/stats.json
+layout: documentation
+---
 <!--- This is an automatically generated file. DO NOT EDIT! --->
 
 ### USAGE ###

http://git-wip-us.apache.org/repos/asf/mesos/blob/7d33bace/docs/endpoints/version.md
----------------------------------------------------------------------
diff --git a/docs/endpoints/version.md b/docs/endpoints/version.md
index 07a9f6c..4f5db22 100644
--- a/docs/endpoints/version.md
+++ b/docs/endpoints/version.md
@@ -1,3 +1,7 @@
+---
+title: Apache Mesos - HTTP Endpoints - /version
+layout: documentation
+---
 <!--- This is an automatically generated file. DO NOT EDIT! --->
 
 ### USAGE ###