• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

jhm-ciberman / docs_gm / 511 / 2

Source File

100.0
/src/doc_models/DocProject.ts
1
import DocFolder from "./DocFolder";
1✔
2

3
/**
4
 * Represents the current GameMaker project that you are documenting.
5
 */
6
export default class DocProject {
1✔
7

8
        /**
9
         * The name of the GameMaker project in a readable format.
10
         * You can use it for titles, or descriptions inside
11
         * your documentation.
12
         */
13
        public name: string = "";
21✔
14

15
        /**
16
         * The root folder for the documentation. Normally is the "scripts" folder, but
17
         * it can be any other folder, for example the root folder where you put all the
18
         * scripts for your GameMaker Marketplace Extension.
19
         */
20
        public root: DocFolder = new DocFolder("scripts");
21✔
21

22
        /**
23
         * Creates an instance of DocProject.
24
         * @param {string} name The project name
25
         * @memberof DocProject
26
         */
27
        constructor(name: string) {
28
                this.name = name;
21✔
29
        }
30
}
  • Back to Build 347
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2024 Coveralls, Inc