summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.document3
-rw-r--r--prism/srcs.mk.in1
-rwxr-xr-xprism/templates/template.rb2
3 files changed, 5 insertions, 1 deletions
diff --git a/.document b/.document
index 82ca602bfb..753d6f9892 100644
--- a/.document
+++ b/.document
@@ -42,6 +42,9 @@ lib
# and some of the ext/ directory (which has its own .document file)
ext
+# For `prism`, ruby code is in lib and c in the prism folder
+prism
+
# rdoc files
NEWS.md
diff --git a/prism/srcs.mk.in b/prism/srcs.mk.in
index cc263fd1b4..d9dcd9b802 100644
--- a/prism/srcs.mk.in
+++ b/prism/srcs.mk.in
@@ -1,4 +1,5 @@
<% # -*- ruby -*-
+# :stopdoc:
require_relative 'templates/template'
script = File.basename(__FILE__)
diff --git a/prism/templates/template.rb b/prism/templates/template.rb
index 0c695fade5..28ac475cdf 100755
--- a/prism/templates/template.rb
+++ b/prism/templates/template.rb
@@ -6,7 +6,7 @@ require "fileutils"
require "yaml"
module Prism
- module Template
+ module Template # :nodoc: all
SERIALIZE_ONLY_SEMANTICS_FIELDS = ENV.fetch("PRISM_SERIALIZE_ONLY_SEMANTICS_FIELDS", false)
REMOVE_ON_ERROR_TYPES = SERIALIZE_ONLY_SEMANTICS_FIELDS
CHECK_FIELD_KIND = ENV.fetch("CHECK_FIELD_KIND", false)