Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(448)

Unified Diff: doxypypy/doxypypy/test/sample_sections.out.py

Issue 1574883002: add doxypypy and py_filter so this will turn google style (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: doxypypy/doxypypy/test/sample_sections.out.py
diff --git a/doxypypy/doxypypy/test/sample_sections.out.py b/doxypypy/doxypypy/test/sample_sections.out.py
new file mode 100644
index 0000000000000000000000000000000000000000..f292854b2bea0815ace100e7661db0055cb0559c
--- /dev/null
+++ b/doxypypy/doxypypy/test/sample_sections.out.py
@@ -0,0 +1,43 @@
+#!/usr/bin/env python
+# encoding: utf-8
+## @brief Sample documentation the arbitrary section handling.
+#
+#Related to issue #7 [1].
+#
+#[1]: https://github.com/Feneric/doxypypy/issues/7
+#
+
+
+
+## @brief A simple function of two arguments.
+#
+# This function takes two arguments, but does absolutely nothing with them.
+# However, it sends out a friendly greeting to the world.
+#
+#
+# @param arg1 The first argument
+# @param arg2 The second argument
+#
+# @return
+# A string stating "Hello World"
+#
+# @b Examples
+# @code
+# >>> function(1, 2)
+# "Hello World"
+# >>> function('a', 'b')
+# "Hello World"
+# @endcode
+#
+# @par Intent
+# The intent is to demonstrate sections like this one within docstrings.
+# How they behave with multiple lines.
+# @par
+# And how they behave with multiple paragraphs.
+# That contain multiple lines.
+#
+# Paragraphs stading by themselves without indention, should be left alone.
+#
+# @namespace sample_sections.function
+def function(arg1, arg2):
+ return "Hello World"

Powered by Google App Engine
This is Rietveld 408576698