{"size": 969, "ext": "js", "max_stars_repo_path": "expansion/upgrade/documentation-builder/index.js", "max_stars_repo_name": "Fox-Design-Agency/Aristos-CMS-node-test", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "expansion/upgrade/documentation-builder/index.js", "max_issues_repo_name": "Fox-Design-Agency/Aristos-CMS-node-test", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "expansion/upgrade/documentation-builder/index.js", "max_forks_repo_name": "Fox-Design-Agency/Aristos-CMS-node-test", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 40.375, "max_line_length": 96, "alphanum_fraction": 0.8018575851}
const fs = require("fs-extra");
require("./routes/checkers/admin_documentation_routes_checker").theFunction();
const adminDocumentation = fs.readJSONSync(
  "./expansion/upgrade/documentation-builder/routes/checkers/documentationRoutes.json"
).route;

const adminChangelong = fs.readJSONSync(
  "./expansion/upgrade/documentation-builder/routes/checkers/changelogRoutes.json"
).route;
const adminDocumentationCategory = fs.readJSONSync(
  "./expansion/upgrade/documentation-builder/routes/checkers/documentationCategoriesRoutes.json"
).route;
const adminChangelogs = require(adminChangelong);
const adminDocumentations = require(adminDocumentation);
const adminDocumentationCategories = require(adminDocumentationCategory);
module.exports = app => {
  app.use("/admin/documentation-builder", adminDocumentations);
  app.use("/admin/changelog-builder", adminChangelogs);
  app.use(
    "/admin/documentation-builder-categories",
    adminDocumentationCategories
  );
};
