@eagleoutice/flowr-dev
Version:
Static Dataflow Analyzer and Program Slicer for the R Programming Language
25 lines (24 loc) • 873 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.WikiFaq = void 0;
const faqs_1 = require("./data/faq/faqs");
const doc_issue_1 = require("./doc-util/doc-issue");
const doc_maker_1 = require("./wiki-mk/doc-maker");
/**
* https://github.com/flowr-analysis/flowr/wiki/FAQ
*/
class WikiFaq extends doc_maker_1.DocMaker {
constructor() {
super('wiki/FAQ.md', module.filename, 'frequently asked questions');
}
text({ ctx }) {
const faqs = (0, faqs_1.registerFaqs)(ctx);
return `
Is your question not answered below? Please [ask it as an issue](${doc_issue_1.NewQuestionUrl}) and we will answer it.
Answers regularly end up on this page, so asking helps everyone who wonders the same thing later.
${faqs.toMarkdown()}
`.trim();
}
}
exports.WikiFaq = WikiFaq;
//# sourceMappingURL=wiki-faq.js.map