Cosmoteer Wiki:Maintainer utilities

From Cosmoteer Wiki
Jump to navigation Jump to search

Contains various utilities useful for maintainers.

Script for generating parameters for {{tj}} based on template data

The script produces parameters for {{tj}} using template data, providing a semi-automatic way to update {{tj}}.

How to use

With the script, the steps needed to perform an update are reduced to:

  1. Open template in edit mode.
  2. Run the script (done with a single click). This will copy the resulting parameters into your clipboard.
  3. Open template docs and replace the parameters by pasting.

How to install

This is bookmarklet script, meaning you run it like you would open a bookmared page:

  1. Copy the script: https://gist.github.com/murolem/cb98e4720ce585ee65ea151f1ea9b362
  2. Create a new bookmark in your browser. Replace the address with the script.

Now you can run the script by pressing on the bookmark.