Skip to content

feat: detect title and description of document#98

Merged
atinux merged 2 commits into
mainfrom
title-detection
Feb 24, 2021
Merged

feat: detect title and description of document#98
atinux merged 2 commits into
mainfrom
title-detection

Conversation

@farnabaz

Copy link
Copy Markdown
Collaborator

Types of changes

  • Bug fix (a non-breaking change which fixes an issue)
  • New feature (a non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Description

This PR detects title and description, update the document and remove found elements after

title and description can be selected if

  • document starts with title followed by block-quote
# title

> description
  • document starts with block-quote
> description

resolves #93

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes (if not applicable, please state why)

@vercel

vercel Bot commented Feb 24, 2021

Copy link
Copy Markdown

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/nuxtlabs/docus/FD3Z2LudKNfNnkf31YeNgM9Re4hw
✅ Preview: https://docus-git-title-detection-nuxtlabs.vercel.app

@farnabaz farnabaz requested a review from atinux February 24, 2021 10:33
@atinux

atinux commented Feb 24, 2021

Copy link
Copy Markdown
Contributor

Could you update the Markdown files inside docs/content/ to use this feature @farnabaz ?

@farnabaz

Copy link
Copy Markdown
Collaborator Author

Sure

@farnabaz

Copy link
Copy Markdown
Collaborator Author

Updated

@atinux atinux merged commit d0ff5c9 into main Feb 24, 2021
@Tahul Tahul deleted the title-detection branch April 14, 2021 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Auto-detect title and description

2 participants