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

more default order options #88

Open
johnnychen94 opened this issue May 23, 2021 · 0 comments
Open

more default order options #88

johnnychen94 opened this issue May 23, 2021 · 0 comments
Labels
Type: new feature new features that need more feedbacks

Comments

@johnnychen94
Copy link
Member

johnnychen94 commented May 23, 2021

Currently, it uses case-insensitive alphabetic order for demos, it might be helpful to allow users to specify a more "meaningful" order preset. For example:

{
    "order": "alphabetic"
}

This doesn't break the current syntax, as the previous order is defined as a list (not a string):

{
  "order": [
    "basics",
    "julia_demos"
    ]
}

Here are presets that I guess would be useful:

  • "Alphabetic": case-sensitive alphabetic order.
  • "xxx-rev": reversibly order by preset xxx.
  • "modified_date": order by git commit dates

Suggestions for different order preset are welcomed.

@johnnychen94 johnnychen94 added the Type: new feature new features that need more feedbacks label May 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: new feature new features that need more feedbacks
Projects
None yet
Development

No branches or pull requests

1 participant