Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: detect title and description of document #98

Merged
merged 2 commits into from
Feb 24, 2021
Merged

Conversation

farnabaz
Copy link
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
Copy link

vercel bot commented Feb 24, 2021

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
Copy link
Contributor

atinux commented Feb 24, 2021

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

Copy link
Collaborator Author

Sure

Copy link
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