diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1d3d40d9..6272d3c3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,7 +15,6 @@ jobs: - name: "Install requirements" run: | pip install -r requirements.txt - sudo apt-get install -y hunspell-en-ca hyphen-en-ca - name: "Run build test" run: | make test diff --git a/Makefile b/Makefile index 65b360c3..3fbd048c 100644 --- a/Makefile +++ b/Makefile @@ -177,15 +177,9 @@ pseudoxml: @echo @echo "Build finished. The pseudo-XML files are in $(BUILDDIR)/pseudoxml." -spelling: - $(SPHINXBUILD) -b spelling $(ALLSPHINXOPTS) $(BUILDDIR)/spelling - @echo - @echo "Build finished. The spelling files are in $(BUILDDIR)/spelling." - dos2unix: find . -name "*.txt" | grep -v _build | xargs -IF fromdos F .PHONY: test test: $(MAKE) html ALLSPHINXOPTS="-W --keep-going -n ." - $(MAKE) spelling ALLSPHINXOPTS="-W --keep-going ." diff --git a/conf.py b/conf.py index 93b1dd46..db37bc0c 100644 --- a/conf.py +++ b/conf.py @@ -42,18 +42,8 @@ "sphinx.ext.extlinks", "sphinx.ext.intersphinx", "sphinx_version_ref", - "sphinxcontrib.spelling", ] -# spelling - -spelling_lang="en_CA" -tokenizer_lang="en_CA" - -spelling_word_list_filename = ['spelling_wordlist.txt'] - -spelling_show_suggestions=True - # Obtain intersphinx_mapping inventory = "https://gist.githubusercontent.com/qubot/2dd2f7f96e51121061d4/raw/sphinxdoc-inventory.json" response = urlopen(inventory) diff --git a/requirements.txt b/requirements.txt index 99f3904a..1a5be0d8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,3 @@ sphinx sphinx_rtd_theme -sphinx_version_ref -sphinxcontrib-spelling +sphinx_version_ref \ No newline at end of file diff --git a/spelling_wordlist.txt b/spelling_wordlist.txt deleted file mode 100644 index 3d9c5466..00000000 --- a/spelling_wordlist.txt +++ /dev/null @@ -1,469 +0,0 @@ -accessCondition -accessConditions -accessionNumber -accesstomemory -acquisitionDate -acquisitionType -actorOccupationNotes -actorOccupations -addDonor -Alberton -alternateTitle -alternativeIdentifierNotes -alternativeIdentifiers -alternativeIdentifierTypes -alternativIdentifierLabels -Analytics -analytics -Ansible -apcu -API -api -arArchivesCanadaPlugin -arCasPlugin -archivalHistory -Archivematica -archivistNote -arCorcovadoPlugin -arDacsPlugin -arDominionB -arDominionPlugin -arOAIPlugin -arOaiPlugin -arRestApiPlugin -arStorageServicePlugin -Artefact -Artefactual -Asao -Asus -AtoM -atomUsers -authorised -autocomplete -autonumerics -autopopulate -barcodes -bc -behavior -behaviors -Bing -bioghist -bo -bolding -boolean -Bootsrap -Bootstrap -Calc -catalog -center -centered -charset -checkboxes -checkmark -Checksums -cifs -Cinepak -cli -codebase -Codec -color -colors -config -consortial -Corcovado -corporateBodyIdentifiers -createdAt -creatorDates -creatorDatesEnd -creatorDatesNotes -creatorDatesStart -crosswalked -css -csv -cURL -customizable -Customizations -Cyrl -dataset -datasets -datepicker -datesOfExistence -datestamp -DDD -dddd -deaccession -deaccessioned -Deaccessions -deacession -descriptionIdentifier -descriptionStatus -dev -digitalobject -digitalObjectPath -digitalObjectURI -discoverable -Dockerfile -donorCity -donorContactPerson -donorCountry -donorEmail -donorFax -donorName -donorNote -donorPostalCode -donorRegion -donorStreetAddress -donorTelephone -draggable -dropdown -Elasticsearch -elasticsearch -endDate -Etsy -eventActorHistories -eventActors -eventDates -eventDescriptions -eventEndDates -eventPlaces -eventStartDates -eventTypes -extentAndMedium -facetstitle -favicon -favor -favored -favorite -FFmpeg -filepath -filepaths -filesize -filesystem -filesystems -findingAids -findingAids -folksonomies -fonds -fpm -Frogstar -frontend -ful -fullTreeviewCollapseClosedButtonText -fullTreeviewCollapseOpenedButtonText -fullwidth -Gearman -generalContext -generalNote -genreAccessPoints -geo -geolocation -Ghostscript -gid -GitHub -globalSearch -glyphs -Gravatar -Gruber -Hashimoto -hollinger -homebrew -Honsberger -hostname -htmlpurifier -htop -https -Huffyuv -Hyllier -ICA -ico -ies -iframe -iframes -Imagemagick -img -incrementing -Indeo -informationobject -ini -institutionIdentifier -institutionSearchHoldings -integrations -internalStructures -isad -isLocatedAt -iteratively -javascripts -jdk -jobInfo -jobName -jobStatus -jobUser -jpg -jre -js -js -json -ju -keymap -Kincardine -languageOfDescription -Latn -Laurier -legacyID -legacyId -legalStatus -levelOfDescription -levelOfDetail -linebreak -linebreaks -localhost -locationInformation -locationOfCopies -locationOfOriginals -locationOfOriginals -Logfile -logfile -Logfiles -logfiles -Lucene -macOS -Magrathea -maintenanceNotes -Makefile -materialtype -Matomo -mediatype -memcache -memcached -metadataPrefix -MiB -Munn -mysqld -nameAccessPoints -nd -neighborhoods -Nellymoser -newSlug -nfs -Nginx -nginx -nl -normalizers -oai -objectID -Ok -ok -oldSlug -OPcache -openjdk -organisation -organisational -ote -otherFormsOfName -overlayed -pageview -pageviews -parallelFormsOfName -parentID -parentId -Parsedown -pdf -pdftotext -PDO -Percona -performant -permalink -permalinks -php -phpinfo -physicalCharacteristics -physicalCondition -physicalobject -physicalObjectLocation -physicalObjectName -physicalObjectType -picklist -Pitti -pixellated -placeAccessPoints -png -Postgres -pre -preloaded -prepopulated -processingNotes -processingPriority -processingStatus -publicationsStatus -publicationStatus -px -qtSwordPlugin -qubit -qubitParentSlug -Quicktime -Rackspace -radEdition -radGeneralMaterialDesignation -radNoteAccompanyingMaterial -radNoteAlphaNumericDesignation -radNoteCast -radNoteConservation -radNoteCredits -radNoteEdition -radNotePhysicalDescription -radNotePublisherSeries -radNoteRights -radNoteSignaturesInscriptions -radTitleAttributionsAndConjectures -radTitleContinues -radTitleParallelTitles -radTitleSourceOfTitleProper -radTitleStatementOfResponsibilityNote -radTitleVariationsInTitle -rangeType -Rasterfile -Readline -Reboxing -receivedExtentUnits -recognised -regen -relatedUnitsOfDescription -relationType -relationTypes -reorganisation -repo -reproductionConditions -resourceType -resumptionToken -reusability -revalidating -revisionHistory -rightsholder -rightsholders -RoQ -roundtrip -roundtripping -rsync -rtf -runtime -Ryerson -sanitization -scalability -scopeAndContent -scriptOfDescription -scrollbar -scss -setfacl -setName -setSpec -sfAPCCache -sfAPPCCache -sfDcPlugin -sfEacPlugin -sfEacPlugin -sfEadPlugin -sfIsaarPlugin -sfIsadPlugin -sfIsdfPlugin -sfIsdiahPlugin -sfModsPlugin -sfRadPlugin -sfSkosPlugin -ShareAlike -signifiers -siteSettings -Sorenson -sortable -sourcename -sourceOfAcquisition -sql -src -Staatsbibliothek -standardizedFormsOfName -startDate -staticPages -stopwords -strikethrough -stylesheet -stylesheets -subdirectories -subdirectory -subelements -subfonds -subfunctions -subjectAccessPoints -subprocesses -subregion -subrule -Subseries -superset -supervisord -Symfony -symfony -symlink -systemd -th -theming -Theora -tokenized -tokenizers -tooltip -tooltips -townarchives -transcoded -treeview -treeviews -Truespeech -typeahead -typeOfEntity -typeOfResource -ufw -uid -un -unassign -uncheck -unchecking -uncomment -unencrypted -unescaped -Unicode -unlink -unlinked -Unported -unreferenced -unselect -unspaced -untrusted -uploader -UTF -Vagrantfile -vagrantfile -validator -vboxsf -vCPUs -virtualization -Virtualizing -VMnc -VMware -Vorbis -watercolors -Wayson -Webalizer -webpack -webpage -webserver -Westwood -whitespace -Wilfrid -www -Xan -Xcode -XSS -yml -yml -Youck -yourSlug -Zaphod -Zend -zoomable -zu