Available translations

Docs Repaginate Command

foundations.png
Summary: When you add a Docs Topic Page or a Docs Tutorial Page, you may define a page number. The number defines the position of the page within the table of contents. To add a page in-between other pages you may use decimal values. Use the Repaginate command to recalculate all page numbers and leave the whole set in integers.
Syntax
 docs.repaginate Category from Project: Topic or Tutorial name.
Properties
  • Category: It must be either Topic or Tutorial.
  • Project: Any existing already integrated project.
  • Topic or Tutorial name: The name given to the Topic or Tutorial that you want to repaginate.
Example
 docs.repaginate Topic from Superalgos: Docs Commands
Usage
After you repaginate a Topic or Tutorial, the best way to proceed is to manually delete from disk all the files associated with that Topic / Tutorial. After you delete them, you execute the repaginate command and then the docs.save command.
The repagination flags all of the files of that Topic / Tutorial as changed, so you don't need to worry about the deleted files since they will be all recreated.
After repagination, reload the UI to get into memory only the repaginated version.
Previous
Docs Reindex Command