text: import AddonDocsRouter, { docsRoute } from 'ember-cli-addon-docs/router';
  import config from 'dummy/config/environment';
  
  export default class Router extends AddonDocsRouter {
    location = config.locationType;
    rootURL = config.rootURL;
  }
  
  Router.map(function () {
    docsRoute(this, function () {
      this.route('quickstart');
      this.route('debugging');
      this.route('videos');
      this.route('html');
      this.route('document');
      this.route('status-code');
      this.route('visit');
      this.route('network-mocking');
      this.route('fastboot-configuration');
    });
  
    this.route('examples', function () {
      this.route('redirects', function () {
        this.route('transition-to');
        this.route('replace-with');
      });
  
      this.route('query-parameters');
      this.route('visit-customization');
      this.route('global-config');
  
      this.route('request-object');
  
      this.route('network', function () {
        this.route('notes', function () {
          this.route('note', { path: ':note_id' });
        });
  
        this.route('other', function () {
          this.route('get-request');
          this.route('headers');
          this.route('post-request');
          this.route('origin-override');
          this.route('echo');
        });
      });
  
      this.route('errors', function () {
        this.route('throw-message');
        this.route('throw-error-object');
        this.route('access-document');
      });
    });
  
    this.route('not-found', { path: '/*path' });
  });
  