Skip to content

Testing ADS vs SciX help page setup #521

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kelockhart
Copy link
Member

Test to see if we can create separate ADS vs SciX help pages using the same base text in a file in _includes, to avoid duplication.

Copy link
Contributor

@mugdhapolimera mugdhapolimera left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It works! Just one major comment about needing to add the liquid templating to the URLs also. Otherwise everything works.

## Setup
There are 5 types of notifications you can create: arXiv, citations, authors, keywords, and general. The first 4 are roughly equivalent to their counterparts in Classic, as described below. The fifth, the general notification type, is new and is designed to allow for more flexibility in creating and generating notifications.

To create a new notification (for all notifications except for the general notifications), go to the [my{{ include.site }} settings page](https://ui.adsabs.harvard.edu/user/settings/myads) and click the **Create** button. Choose your notification type from the menu on the next screen, then follow directions for your chosen notification type as given below.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

THis link also needs to be customised depending on if scix or ads is chosen, right?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This works:

To create a new notification (for all notifications except for the general notifications), go to the [my{{ include.site }} settings page]({% if include.ads %}https://ui.adsabs.harvard.edu/user/settings/myads{% else %}https://scixplorer.org/user/settings/myscix{% endif %}) and click the Create button. Choose your notification type from the menu on the next screen, then follow directions for your chosen notification type as given below.

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.

2 participants