Skip to content

Commit 07c1c71

Browse files
committed
fix category names
1 parent fe1452a commit 07c1c71

1 file changed

Lines changed: 11 additions & 12 deletions

File tree

utils/questions_to_markdown.ipynb

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@
4242
"outputs": [],
4343
"source": [
4444
"# creata a list of topics that should be ordered\n",
45-
"ordered_topics = ['Jupyter', 'Python', 'Binder', 'Numpy', 'scikit-image', 'napari','Cellpose', 'PyImageJ','Visualization',\n",
46-
" 'Applications', 'Computing','Data','Installation']\n",
45+
"ordered_topics = ['Category3', 'Category1']\n",
4746
"\n",
4847
"# add any missing topic at the end of the list\n",
4948
"final_list = ordered_topics + [x for x in questions['Category name'].dropna().unique() if x not in ordered_topics]\n",
@@ -106,9 +105,18 @@
106105
"data": {
107106
"text/markdown": [
108107
"## Table of contents \n",
108+
"* <a href=\"#category3_2\">Category3</a> \n",
109109
"* <a href=\"#category1_2\">Category1</a> \n",
110110
"* <a href=\"#category2_2\">Category2</a> \n",
111-
"* <a href=\"#category3_2\">Category3</a> \n",
111+
" \n",
112+
"## <a name=\"category3_2\" /></a>Category3 \n",
113+
"**Is this my fourth question?** \n",
114+
" \n",
115+
"Yes it is. \n",
116+
" \n",
117+
"**Is this my seventh question?** \n",
118+
" \n",
119+
"Yes it is. \n",
112120
" \n",
113121
"## <a name=\"category1_2\" /></a>Category1 \n",
114122
"**Is this my first question?** \n",
@@ -135,15 +143,6 @@
135143
"**Is this my sixth question?** \n",
136144
" \n",
137145
"Yes it is. \n",
138-
" \n",
139-
"## <a name=\"category3_2\" /></a>Category3 \n",
140-
"**Is this my fourth question?** \n",
141-
" \n",
142-
"Yes it is. \n",
143-
" \n",
144-
"**Is this my seventh question?** \n",
145-
" \n",
146-
"Yes it is. \n",
147146
" \n"
148147
],
149148
"text/plain": [

0 commit comments

Comments
 (0)