Skip to content

Commit

Permalink
remove sphinx reference anchors from top of notebooks
Browse files Browse the repository at this point in the history
these weren't being picked up and got rendered instead

instead, include sphinx anchor in the nblink prolog so this is programmatically created

also rename some section headings in RFE alchemical planners so there aren't duplicated titles, this was automatically creating reference anchors then creating a warning on duplicate references
  • Loading branch information
richardjgowers committed Apr 10, 2024
1 parent e9ee5aa commit 5eabeab
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 66 deletions.
8 changes: 0 additions & 8 deletions cookbook/choose_protocol.ipynb
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
{
"cells": [
{
"cell_type": "raw",
"id": "0765a7c9",
"metadata": {},
"source": [
".. _cookbook_choose_config_protocol:"
]
},
{
"cell_type": "markdown",
"id": "8efbded0-0b69-4392-b8df-7afbd817d733",
Expand Down
8 changes: 0 additions & 8 deletions cookbook/create_alchemical_network.ipynb
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
{
"cells": [
{
"cell_type": "raw",
"id": "9fb7586c",
"metadata": {},
"source": [
".. _cookbook_create_alchemicalnetwork:"
]
},
{
"cell_type": "markdown",
"id": "b89fdb9a-24fe-4aeb-9390-a359dae6cc9b",
Expand Down
8 changes: 0 additions & 8 deletions cookbook/generate_ligand_network.ipynb
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
{
"cells": [
{
"cell_type": "raw",
"id": "c6a2c302",
"metadata": {},
"source": [
".. _cookbook_planning_ligandnetwork:"
]
},
{
"cell_type": "markdown",
"id": "035c0099-6892-4ed2-b0d6-80b1c247c1e7",
Expand Down
8 changes: 0 additions & 8 deletions cookbook/hand_write_ligand_network.ipynb
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
{
"cells": [
{
"cell_type": "raw",
"id": "554bc9f7",
"metadata": {},
"source": [
".. _cookbook_ligandnetworks_by_hand:"
]
},
{
"cell_type": "markdown",
"id": "bf739d70-3249-42b3-a352-8a41f8f8c667",
Expand Down
8 changes: 0 additions & 8 deletions cookbook/ligandnetwork_vis.ipynb
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
{
"cells": [
{
"cell_type": "raw",
"id": "68723119",
"metadata": {},
"source": [
".. _cookbook_viz_ligandnetworks:"
]
},
{
"cell_type": "markdown",
"id": "a2f0ee60-1060-4ca9-b0ff-529348dbc0e6",
Expand Down
8 changes: 0 additions & 8 deletions cookbook/network_from_orion_fepp.ipynb
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
{
"cells": [
{
"cell_type": "raw",
"id": "0508cde5",
"metadata": {},
"source": [
".. _cookbook_network_from_orion_fepp:"
]
},
{
"cell_type": "markdown",
"id": "4197d26d-c9e2-47ca-8d19-8372568371d8",
Expand Down
12 changes: 2 additions & 10 deletions cookbook/rfe_alchemical_planners.ipynb
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
{
"cells": [
{
"cell_type": "raw",
"id": "6cf8c16b",
"metadata": {},
"source": [
".. _cookbook_rfe_network_planners:"
]
},
{
"cell_type": "markdown",
"id": "b89fdb9a-24fe-4aeb-9390-a359dae6cc9b",
Expand Down Expand Up @@ -135,7 +127,7 @@
"id": "e96f95fb",
"metadata": {},
"source": [
"### Building the Network Planner and getting an AlchemicalNetwork\n",
"### Building the RBFEAlchemicalNetworkPlanner and getting an AlchemicalNetwork\n",
"\n",
"Finally we can use the `RBFEAlchemicalNetworkPlanner` to create an `AlchemicalNetwork`.\n",
"\n",
Expand Down Expand Up @@ -188,7 +180,7 @@
"id": "dc5f6bcb",
"metadata": {},
"source": [
"### Building the Network Planner and getting an AlchemicalNetwork\n",
"### Building the RHFEAlchemicalNetworkPlanner and getting an AlchemicalNetwork\n",
"\n",
"Here we use the same ChemicalComponents, atom mapper, scorer, and network planner as used in the RBFE section above.\n",
"\n",
Expand Down
8 changes: 0 additions & 8 deletions cookbook/user_charges.ipynb
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
{
"cells": [
{
"cell_type": "raw",
"id": "9a5f5c39",
"metadata": {},
"source": [
".. _cookbook_user_charges:"
]
},
{
"cell_type": "markdown",
"id": "088a1bc4-e5f3-47ac-8ebf-1a904fa82f80",
Expand Down

0 comments on commit 5eabeab

Please sign in to comment.