Issue 20393: Docs: mark deprecated items in the TOC (original) (raw)

When exploring the docs for the standard library, it’s frustrating to have an idea and look for the answer only to find out that an entire module (or package) has been deprecated after I click on it.

Can we have links to deprecated items on the Standard Library’s TOC page flagged?

I see you’re using multiple CSS classes on some links. I propose:


/*

/*

}


Of course, since the CSS class '.deprecated' already exists, there's 2 options:

  1. the examples above are rewritten to use a different classname, or
  2. add the following CSS:

/* "Reset" .deprecated in a toctree context */ .toctree-wrapper a.deprecated { background: none; border: none; padding: 0; }

/* << insert above example CSS here >> */