THIS REPOSITORY IS DEPRECATED. FOR DOCS CHANGES, USE https://github.com/timescale/docs INSTEAD
This is the source for content for docs.timescale.com. The docs site uses this repo as a submodule and converts the files directly into pages using a bash script and markdown parser.
All files are written in standard markdown.
We welcome and appreciate any help the community can provide to make TimescaleDB's documentation better!
You can help either by opening an issue with any suggestions or bug reports, or by forking this repository, making your own contribution, and submitting a pull request.
Before we accept any contributions, Timescale contributors need to sign the Contributor License Agreement (CLA). By signing a CLA, we can ensure that the community is free and confident in its ability to use your contributions.
There is a version of the docs for each supported version of the database, stored in
a separate git branch. Our docs site parses those branches to allow users to choose
what version of the docs they want to see. When submitting pull requests, you should determine
what versions of the docs your changes will apply to and attach a label to the pull request
that denotes the earliest version that your changes should apply to (0.9
, 0.10
, 1.0
, etc.)
The admin for the docs will use that as a guide when updating version branches.
None of the internal page links within these files will work on GitHub. They are designed to function within the code for the documentation site at docs.timescale.com. All external links should work.
If you want to link to a specific part of the page from the docs sidebar, you
need to place a special anchor [](anchor_name)
.
Your anchor name must be unique in order for the highlight scrolling to work properly.
When showing commands being entered from a command line, do not include a character for the prompt. Do this:
some_command
instead of this:
$ some_command
or this:
> some_command
Otherwise the code highlighter may be disrupted.
To maintain consistency, please follow these general rules.
SELECT
,
time_bucket
) should be set as inline code within backticks ("`command`").There are some custom modifications to the markdown parser to allow for special formatting within the docs.
sss
to the start of every list item in an ordered list will result in
a switch to "steps" formatting which is used to denote instructional steps, as
for a tutorial.>:TIP:
to the start of a blockquote (using '>') will create a "tip" callout.>:WARNING:
to the start of a blockquote (using '>') will create a "warning" callout.>:TOPLIST:
as the first line of a blockquote (using '>') will
create a fixed right-oriented box, useful for a table of contents or list of
functions, etc. See the FAQ page (faq.md) for an example.
## Important Header [](indexing)
) will create an anchor icon that links to that header with the hash name of the text.:FOOTER_LINK:
to the start of a paragraph(line) will format it as a "footer link".:DOWNLOAD_LINK:
to the start of a link will append a 'download link' icon to the end of the link inline.x.y.z
anywhere in the text will be replaced by the version number of the branch. Ex. look at file foo-x.y.z
>> look at file foo-0.4.2
.:pg_version:
to text displayed in an installation section (i.e. any page with a filename beginning installation-
) will display the PostgreSQL version number. This is primarily to be used for displayed filenames in install instructions that need to be modular based on the version.:community_function:
to a header (for example, in the api section) adds decorator text "community function".Make sure to include the space after the formatting command!
Warning: Note the single space required in the special formats before adding normal text. Adding ':TIP:' or ':WARNING:' to the start of any standard paragraph will result in non-optimal html. The characters will end up on the outside of the paragraph tag. This is due to the way that the markdown parser interprets blockquotes with the new modifications. This will be fixed in future versions if it becomes a big issue, but we don't anticipate that.
There is a specific format for the API section which consists of:
add_dimension()
See the API file to get an idea.