brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rich...@apache.org
Subject [6/8] incubator-brooklyn git commit: notes on use of rdiscount and pygments (neither helpful though)
Date Mon, 22 Dec 2014 13:47:49 GMT
notes on use of rdiscount and pygments (neither helpful though)


Project: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/commit/e6307edf
Tree: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/tree/e6307edf
Diff: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/diff/e6307edf

Branch: refs/heads/master
Commit: e6307edf163aa3ed27844c53cd6a8123581e7566
Parents: bc54341
Author: Alex Heneveld <alex.heneveld@cloudsoftcorp.com>
Authored: Fri Dec 19 10:04:44 2014 +0000
Committer: Alex Heneveld <alex.heneveld@cloudsoftcorp.com>
Committed: Fri Dec 19 11:44:10 2014 +0000

----------------------------------------------------------------------
 docs/_build/config-pygments.yml  | 28 ++++++++++++++++++++++++++++
 docs/_build/config-rdiscount.yml | 28 ++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/e6307edf/docs/_build/config-pygments.yml
----------------------------------------------------------------------
diff --git a/docs/_build/config-pygments.yml b/docs/_build/config-pygments.yml
new file mode 100644
index 0000000..29f85d5
--- /dev/null
+++ b/docs/_build/config-pygments.yml
@@ -0,0 +1,28 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#  http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+# this uses python pygments engine to render code;
+# with recent jekyll (dec 2014) i can't see any difference,
+# and the formatting appears to be following pygments rules
+# without it, so perhaps the jekyll ruby highlighter is very
+# good (identical? i see a pygments gem, even if the docs
+# say it is using something called "rouge");
+# included here so it is documented at least.
+# NB: you may need `python easy_install pygments`
+highlighter: pygments

http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/e6307edf/docs/_build/config-rdiscount.yml
----------------------------------------------------------------------
diff --git a/docs/_build/config-rdiscount.yml b/docs/_build/config-rdiscount.yml
new file mode 100644
index 0000000..aa82ee3
--- /dev/null
+++ b/docs/_build/config-rdiscount.yml
@@ -0,0 +1,28 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#  http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+# add this file as a config to use "rdiscount" markdown processor
+# instead of the default ruby/jekyll one.
+# rdiscount is the original, and C-based, so a bit faster
+# (but not much, 7s vs 8.5s on my system -alex)
+# and slightly more forgiving, e.g. for <a href="chapter"> tags
+# on a line directly about a section header
+# (ruby markdown seems to want a blank line between the two).
+# NB: this requires adding "rdiscount" to your Gemfile, then `cd ~ ; cd -`
+markdown: rdiscount


Mime
View raw message