Skip to content

Instantly share code, notes, and snippets.

@thisnameissoclever
Last active August 15, 2023 17:39
Show Gist options
  • Save thisnameissoclever/06e5ac65817e7a9fb7395d8dc4d29a83 to your computer and use it in GitHub Desktop.
Save thisnameissoclever/06e5ac65817e7a9fb7395d8dc4d29a83 to your computer and use it in GitHub Desktop.
@Hoptimal
Copy link

Hey Tim, this is really useful for me but it doesn't work if the docs URL doesn't contain the string '/concept/'

For example this URL fails and bombs: https://docs.servicenow.com/bundle/tokyo-servicenow-platform/page/product/csdm-implementation/task/csdm-enable-tso.html

So, I added a condition to handle it:
https://gist.github.com/Hoptimal/3339d1671d30940b9f793f996c2f658b
Hope it helps?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment