Skip to content

Conversation

@joemull
Copy link
Member

@joemull joemull commented Nov 18, 2025

No description provided.

@ajrbyers ajrbyers requested review from StephDriver and mauromsl and removed request for mauromsl December 9, 2025 14:32
@ajrbyers ajrbyers assigned StephDriver and unassigned ajrbyers Dec 9, 2025
docs/md/orcid.md Outdated
Comment on lines 15 to 18
```py
ENABLE_ORCID = True
ORCID_CLIENT_SECRET = "your client secret"
ORCID_CLIENT_ID = "your client ID"
Copy link
Member

Choose a reason for hiding this comment

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

just a comment - but this made me wonder what syntax we have for showing things like 'your client secret' - one of the things I struggle with when looking at examples online is which part to replace - e.g.
"your client secret" or your client secret - much worse when it isn't obvious if it should be a string or not or snake/kebab case used within quotes etc.

I'm not saying this example here is unclear, more that it prompted me to think it would be good to have a standard syntax for replacable values.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, agreed. For now I will follow this: https://developers.google.com/style/placeholders

Copy link
Member

@StephDriver StephDriver left a comment

Choose a reason for hiding this comment

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

I can work out what you mean, but I do think the documentation could be clearer.

The same syntax and context was used for examples, for commands to type verbatim and for terminal interactions where some parts were typed and others not.

I believe clear documentation reduces support requests, so I would prefer to have this documentation 'obvious' rather than 'needing to be worked out'. But we've not really had much discussion yet about documentation, standardising syntax etc, so I may be jumping ahead of the intention behind this work. So I am unsure whether it is for changes to be made now, or something to be considered further when we talk more about documentation.

docs/md/orcid.md Outdated

The following steps were written for Ubuntu, and are meant for testing the press site.

1. Create a test client on orcid.org and enter a normal domain of your choosing (it won’t be accessed) with `http` and the Janeway port you use for development: `http://www.openlibhums.org:8000/`
Copy link
Member

Choose a reason for hiding this comment

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

would be good to have an example for completeness or is that the example? If so call it an example?

docs/md/orcid.md Outdated

```
127.0.0.1 www.openlibhums.org
```
Copy link
Member

Choose a reason for hiding this comment

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

again, for clarity, label examples as examples.

docs/md/orcid.md Outdated

```
sudo systemctl restart NetworkManager
```
Copy link
Member

Choose a reason for hiding this comment

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

This looks like a command to be used as is, rather than an example, and for clarity this needs to be distinguished from the examples used above.

docs/md/orcid.md Outdated
python src/manage.py alter_domains press
Altering domain for Test A, current domain: localhost:8000
Enter the new domain you wish to set: www.openlibhums.org:8000
Altering domain record...... [Ok]
Copy link
Member

Choose a reason for hiding this comment

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

It is unclear here which parts are you typing, and which are prompts.

@StephDriver StephDriver assigned joemull and unassigned StephDriver Dec 11, 2025
@joemull
Copy link
Member Author

joemull commented Dec 12, 2025

OK @StephDriver, I've given it a once-over for clarity with the help of your comments.

@joemull joemull assigned StephDriver and unassigned joemull Dec 12, 2025
@joemull joemull requested a review from StephDriver December 12, 2025 14:41
@StephDriver StephDriver merged commit c50f0c9 into master Dec 15, 2025
1 check passed
@StephDriver StephDriver deleted the b-document-orcid-login-testing branch December 15, 2025 08:55
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.

4 participants