diff --git a/lib/ES/Toc.pm b/lib/ES/Toc.pm index 72fa7d9edbca8..9ce0ad4a3fd0d 100644 --- a/lib/ES/Toc.pm +++ b/lib/ES/Toc.pm @@ -37,11 +37,12 @@ sub write { $adoc_file->spew( iomode => '>:utf8', $adoc ); build_single( $adoc_file, $dir, - type => 'article', - lang => $self->lang, - root_dir => '', - edit_urls => {'' => ''}, - latest => 1, + type => 'article', + lang => $self->lang, + asciidoctor => 1, + root_dir => '', # Required but thrown on the floor with asciidoctor + latest => 1, # Run all of our warnings + private => 1, # Don't generate edit me urls ); $adoc_file->remove; }