docs: removed toc

This commit is contained in:
Folke Lemaitre 2022-12-17 09:59:29 +01:00
parent fc55edc22e
commit 2d6559302e
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040
2 changed files with 1 additions and 18 deletions

View File

@ -23,23 +23,6 @@
- 📋 Commit, branch, tag, version, and full [Semver](https://devhints.io/semver) support - 📋 Commit, branch, tag, version, and full [Semver](https://devhints.io/semver) support
- 📈 Statusline component to see the number of pending updates - 📈 Statusline component to see the number of pending updates
## 📄 Table of Contents
<!-- toc:start -->
- [⚡️ Requirements](#-requirements)
- [📦 Installation](#-installation)
- [🔌 Plugin Spec](#-plugin-spec)
- [⚙️ Configuration](#-configuration)
- [🚀 Usage](#-usage)
- [📊 Profiler](#-profiler)
- [🪲 Debug](#-debug)
- [▶️ Startup Sequence](#-startup-sequence)
- [📦 Differences with Packer](#-differences-with-packer)
- [📦 Other Neovim Plugin Managers in Lua](#-other-neovim-plugin-managers-in-lua)
<!-- toc:end -->
## ⚡️ Requirements ## ⚡️ Requirements
- Neovim >= **0.8.0** - Neovim >= **0.8.0**

View File

@ -48,7 +48,7 @@ end
---@param contents table<string, string> ---@param contents table<string, string>
function M.save(contents) function M.save(contents)
local readme = Util.read_file("README.md") local readme = Util.read_file("README.md")
contents.toc = M.toc(readme) -- contents.toc = M.toc(readme)
for tag, content in pairs(contents) do for tag, content in pairs(contents) do
content = M.fix_indent(content) content = M.fix_indent(content)
content = content:gsub("%%", "%%%%") content = content:gsub("%%", "%%%%")