---
title: "Stamp"
url: https://www.marlasowards.com/samples/contributor-guide/admin/48-stamp
description: "How to add a Deprecated stamp before a table of contents item, and how to create other stamps."
author: Writing sample by Marla Sowards
---

> For an index of every page on this site, see [llms.txt](https://www.marlasowards.com/llms.txt).

> **Note:** I built this project for an enterprise SaaS company. However, what I've shared is genericized to mask proprietary information, including names of companies, products, features, and UI controls. Product images are mockups generated by Claude.

# Stamp

## Add a "Deprecated" stamp

To add a stamp with the word _Deprecated_ before a table of contents item, add a **toc-deprecated** class in the **toc.yml** file:

```yaml
 - name: Schedule a job with Conveyor Service V1
   href: example-schedule-job-V1.md
   class: toc-deprecated
```

## Create additional stamps

Duplicate and rename the following CSS block in **main.css** (site-theme repo > **src/clearpath-docfx-template/templates/clearpath/styles/main.css**) and change the text in `content`. The following CSS may be outdated.

```css
.toc-deprecated:before {
  content: "Deprecated " !important;
  background-color: #008bcc;
  color: #fff;
  border-radius: 3px;
  font-size: 9px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: .15px;
  margin-left: 0px;
  margin-top: 4px;
  margin-bottom: 4px;
  margin-right: 4px;
  padding-left: 6px;
  padding-top: 3px;
  padding-right: 3px;
  padding-bottom: 3px;
}
```
