Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Education
Cantor
Commits
d0526195
Commit
d0526195
authored
Jul 21, 2020
by
Shubham .
Browse files
Fix script to generate keywords
parent
049d4675
Changes
4
Hide whitespace changes
Inline
Side-by-side
admin/documentation/Python/qthelp_generator.py
View file @
d0526195
...
...
@@ -82,7 +82,7 @@ html = index.read()
soup
=
BeautifulSoup
(
html
,
features
=
'html.parser'
)
for
i
in
soup
.
find_all
(
'a'
):
#
#
replace the characters which produces error while qhcp file
# replace the characters which produces error while qhcp file
keyword
=
i
.
text
.
replace
(
"<"
,
""
).
replace
(
"&"
,
""
)
link
=
i
[
'href'
]
...
...
@@ -93,7 +93,7 @@ html2 = index2.read()
soup2
=
BeautifulSoup
(
html
,
features
=
'html.parser'
)
for
i
in
soup2
.
find_all
(
'a'
):
#
#
replace the characters which produces error while qhcp file
# replace the characters which produces error while qhcp file
keyword
=
i
.
text
.
replace
(
"<"
,
""
).
replace
(
"&"
,
""
)
link
=
i
[
'href'
]
...
...
documentation/Python/help.qch
View file @
d0526195
No preview for this file type
documentation/Python/help.qhc
View file @
d0526195
No preview for this file type
src/panelplugins/documentationpanel/documentationpanelwidget.cpp
View file @
d0526195
...
...
@@ -27,6 +27,7 @@
#include <QAction>
#include <QCompleter>
#include <QComboBox>
#include <QDebug>
#include <QFrame>
#include <QHBoxLayout>
#include <QHelpContentWidget>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment