Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove need for separate ReSpec clone for Arazzo #212

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions scripts/md2html/md2html.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ function preface(title,options) {
preface += '<link rel="canonical" href="https://spec.openapis.org/arazzo/latest.html" />';

if (options.respec) {
preface += '<script src="../js/respec-arazzo.js" class="remove"></script>';
preface += '<script src="../js/respec-oai.js" class="remove"></script>';
preface += `<script class="remove">var respecConfig = ${JSON.stringify(respec)};</script>`;
try {
preface += fs.readFileSync('./analytics/google.html','utf8');
Expand All @@ -96,7 +96,7 @@ function preface(title,options) {
preface += fs.readFileSync(path.resolve(__dirname,'gist.css'),'utf8').split('\n').join(' ');
preface += '</style>';
preface += `<h1 id="title">${title.split('|')[0]}</h1>`;
preface += `<section id="abstract" title="${abstract}">`;
preface += `<section id="abstract"><h2>${abstract}</h2>`;
preface += 'The Arazzo Specification provides a mechanism that can define sequences of calls and their dependencies to be woven together and expressed in the context of delivering a particular outcome or set of outcomes when dealing with API descriptions (such as OpenAPI descriptions).';
preface += '</section>';
preface += '<section class="notoc" id="sotd">';
Expand Down
Loading