Publish all Docs in Category

Update each doc in a specific category as published

1. Install the api module from NPM

You can install the api module by running npm install api.

2. Get the category to mark docs as published

You need the category containing the docs to mark them as published. Here, we'll use the first category

3. Get all docs in the category

Using the category slug we got from the previous category, we can fetch all of the docs that belong to the category

4. Iterate over each doc to mark as published

We can iterate over each doc returned in the previous call, and update each one to be published.

A CMS With Version Control Built-in

Tina is a fully open-source headless CMS that supports Git

or

Trusted By

Bunny Net
Unity
Protocol Labs
City of London
Devolver Digital
Smashing Magazine
Supernova
Paradise Helicopters
NDC Conferences
SSW
Comedia
RRE Ventures
Shadow Lion
Roev
Locality Bank
Bunny Net
Unity
Protocol Labs
City of London
Devolver Digital
Smashing Magazine
Supernova
Paradise Helicopters
NDC Conferences
SSW
Comedia
RRE Ventures
Shadow Lion
Roev
Locality Bank
Bunny Net
Unity
Protocol Labs
City of London
Devolver Digital
Smashing Magazine
Supernova
Paradise Helicopters
NDC Conferences
SSW
Comedia
RRE Ventures
Shadow Lion
Roev
Locality Bank

Key Features

Media item 0

Visual Editing

See content changes in real-time as you edit

Media item 1

Open Source

Media item 2

Develop Locally

Media item 3

3rd Party Media

Media item 4

Control your Components

Media item 5

Markdown at Scale

Media item 6

Git Integration

Media item 7

Easy Documentation

Why Tina?

Open Source Front-end

Content API

Git-based Content Management

GitHub Contributions

Markdown Support

Visual Editing Capabilities

Local Development Workflow

Free Option

Self-hosted Option

Talk to a Tina Expert

Evaluating Tina for your project? Book a 30-minute call with a TinaCMS Architect

Talk to a Tina Expert

Where's Tina?

NDC Porto

NDC Porto

14th - 18th Oct

4 HOURS TO GO

Porto, Portugal

Read more

CPH Dev Fest

CPH Dev Fest

26th - 30th Aug

DONE

Copenhagen, Denmark

Read more

NDC Oslo

NDC Oslo

19th - 23rd May

DONE

Oslo, Norway

Read more

/serverless/DAYS ANZ

/serverless/DAYS ANZ

21st May

DONE

Sydney, Australia

Read more

"Tina is transforming the way we do docs at Unity"
"Tina is transforming the way we do docs at Unity"

Anton Iancu, Product Engineering Manager for AI and Docs

Loved by Developers

Oh wow, I thought Sanity was good, but @tinacms is all I need.

Testimonial avatar

Boko Colse

@struhy_xdSeptember 26, 2023

It’s absolutely amazing. Its so simple to install, the typed NextJS integration is amazing, the live editor is as good as it gets. And compared to other CMSs, the admin is incredibly easy for editors to understand and use.

Testimonial avatar

Dave Keen

@ccapndaveJune 2, 2023

Just found this and I think I am already in love.

Testimonial avatar

Billy Best

@billybest5276August 6, 2023

Just tried out click-to-edit and it's really awesome. Super easy to use and to setup, love that it's fully typed and works passed down as a prop, kinda feels like magic tbh.

Testimonial avatar

Mravec

@mravecJune 14, 2023

I tried a dozen CMSs and I have to say, as an engineer, I like Tina the most.

Testimonial avatar

Peter Rusin

September 5, 2023

Tina's in-context editor cannot be beaten, we’re all in on it.

Testimonial avatar

Sean Pearce

March 30, 2023

@tinacms is a dream come true.

Testimonial avatar

rascode

@rascode11December 6, 2022

Avoid Mistakes with Editorial Workflow

With the Editorial Workflow feature, users can review and manage content on different branches without dropping into GitHub or another IDE

Unbeatable UX

Editing content in Markdown, MDX, and JSON files doesn't need to feel clunky. Tina supports a live preview that takes the UX to the next level