diff --git a/.buildinfo b/.buildinfo new file mode 100644 index 0000000..0a70f3e --- /dev/null +++ b/.buildinfo @@ -0,0 +1,4 @@ +# Sphinx build info version 1 +# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. +config: de7a3591bb40fcc538370ff9bf9a8251 +tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/.doctrees/environment.pickle b/.doctrees/environment.pickle new file mode 100644 index 0000000..5446147 Binary files /dev/null and b/.doctrees/environment.pickle differ diff --git a/.doctrees/index.doctree b/.doctrees/index.doctree new file mode 100644 index 0000000..e0b6a96 Binary files /dev/null and b/.doctrees/index.doctree differ diff --git a/.doctrees/tools/hgct.doctree b/.doctrees/tools/hgct.doctree new file mode 100644 index 0000000..9f34f85 Binary files /dev/null and b/.doctrees/tools/hgct.doctree differ diff --git a/.doctrees/tools/lexicoR.doctree b/.doctrees/tools/lexicoR.doctree new file mode 100644 index 0000000..7595c19 Binary files /dev/null and b/.doctrees/tools/lexicoR.doctree differ diff --git a/404.html b/404.html new file mode 100644 index 0000000..7e63de5 --- /dev/null +++ b/404.html @@ -0,0 +1,105 @@ + + +
+ + +' + + '' + + _("Hide Search Matches") + + "
" + ) + ); + }, + + /** + * helper function to hide the search marks again + */ + hideSearchWords: () => { + document + .querySelectorAll("#searchbox .highlight-link") + .forEach((el) => el.remove()); + document + .querySelectorAll("span.highlighted") + .forEach((el) => el.classList.remove("highlighted")); + localStorage.removeItem("sphinx_highlight_terms") + }, + + initEscapeListener: () => { + // only install a listener if it is really needed + if (!DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS) return; + + document.addEventListener("keydown", (event) => { + // bail for input elements + if (BLACKLISTED_KEY_CONTROL_ELEMENTS.has(document.activeElement.tagName)) return; + // bail with special keys + if (event.shiftKey || event.altKey || event.ctrlKey || event.metaKey) return; + if (DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS && (event.key === "Escape")) { + SphinxHighlight.hideSearchWords(); + event.preventDefault(); + } + }); + }, +}; + +_ready(() => { + /* Do not call highlightSearchWords() when we are on the search page. + * It will highlight words from the *previous* search query. + */ + if (typeof Search === "undefined") SphinxHighlight.highlightSearchWords(); + SphinxHighlight.initEscapeListener(); +}); diff --git a/genindex.html b/genindex.html new file mode 100644 index 0000000..c0d874d --- /dev/null +++ b/genindex.html @@ -0,0 +1,109 @@ + + + + + +This section is dedicated to introducing the core foundational elements of hgct
+Please make sure that Python (version >= 3.8) is installed on your operating system.
+import scrapy
+
+
+class QuotesSpider(scrapy.Spider):
+ name = "quotes"
+ start_urls = [
+ "https://quotes.toscrape.com/tag/humor/",
+ ]
+
+ def parse(self, response):
+ for quote in response.css("div.quote"):
+ yield {
+ "author": quote.xpath("span/small/text()").get(),
+ "text": quote.css("span.text::text").get(),
+ }
+
+ next_page = response.css('li.next a::attr("href")').get()
+ if next_page is not None:
+ yield response.follow(next_page, self.parse)
+