summaryrefslogtreecommitdiff
path: root/lib/gitlab/markdown_cache.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/markdown_cache.rb')
-rw-r--r--lib/gitlab/markdown_cache.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/gitlab/markdown_cache.rb b/lib/gitlab/markdown_cache.rb
new file mode 100644
index 00000000000..0354c710a3f
--- /dev/null
+++ b/lib/gitlab/markdown_cache.rb
@@ -0,0 +1,12 @@
+# frozen_string_literal: true
+
+module Gitlab
+ module MarkdownCache
+ # Increment this number every time the renderer changes its output
+ CACHE_COMMONMARK_VERSION_START = 10
+ CACHE_COMMONMARK_VERSION = 16
+
+ BaseError = Class.new(StandardError)
+ UnsupportedClassError = Class.new(BaseError)
+ end
+end