diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 9964ff946dfe..2a1a625d7bc6 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -9,5 +9,4 @@ - [ ] Tests created for changes - [ ] Manually tested changed features in running JabRef - [ ] Screenshots added in PR description (for bigger UI changes) -- [ ] Ensured that [the git commit message is a good one](https://github.com/joelparkerhenderson/git_commit_message) -- [ ] Check documentation status (Issue created for outdated help page at [help.jabref.org](https://github.com/JabRef/help.jabref.org/issues)?) +- [ ] [Checked documentation](https://docs.jabref.org/): Is the information available and up to date? If not: Issue created at . diff --git a/CHANGELOG.md b/CHANGELOG.md index 9ba3e1109e71..2ee3c81d14df 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -145,7 +145,7 @@ We refer to [GitHub issues](https://github.com/JabRef/jabref/issues) by using `# - Change default icon for groups to a circle because a colored version of the old icon was hard to distinguish from its black counterpart. - In the main table, the context menu appears now when you press the "context menu" button on the keyboard. [feature request in the forum](http://discourse.jabref.org/t/how-to-enable-keyboard-context-key-windows) - We added icons to the group side panel to quickly switch between `union` and `intersection` group view mode https://github.com/JabRef/jabref/issues/3269. -- We use `https` for [fetching from most online bibliographic database](https://help.jabref.org/en/#-using-online-bibliographic-database). +- We use `https` for [fetching from most online bibliographic database](https://docs.jabref.org/import-using-online-bibliographic-database). - We changed the default keyboard shortcuts for moving between entries when the entry editor is active to ̀€alt + up/down. - Opening a new file now prompts the directory of the currently selected file, instead of the directory of the last opened file. - Window state is saved on close and restored on start. diff --git a/README.md b/README.md index 599de1952761..fb15af17b061 100644 --- a/README.md +++ b/README.md @@ -64,9 +64,9 @@ The [latest stable release is available at FossHub](https://www.fosshub.com/JabR JabRef runs on any system equipped with the Java Virtual Machine (Java 11 or higher), which can be downloaded at no cost from [AdoptOpenDJK](https://adoptopenjdk.net/). From JabRef 4.0 onwards, [JavaFX] support has to be installed. - - Windows: JabRef offers an installer, which also adds a shortcut to JabRef to your start menu. Please also see our [Windows FAQ](https://help.jabref.org/en/FAQwindows) - - Linux: Please see our [Installation Guide](http://help.jabref.org/en/Installation). - - Mac OS X: Please see our [Mac OS X FAQ](https://help.jabref.org/en/FAQosx). + - Windows: JabRef offers an installer, which also adds a shortcut to JabRef to your start menu. Please also see our [Windows FAQ](https://docs.jabref.org/faq/faqwindows) + - Linux: Please see our [Installation Guide](https://docs.jabref.org/general/installation). + - Mac OS X: Please see our [Mac OS X FAQ](https://docs.jabref.org/faq/faqosx). In addition, JabRef can be downloaded as an executable `.jar` file. Try to double click the `jar` file or execute the following command: @@ -78,7 +78,7 @@ Try to double click the `jar` file or execute the following command: We are thankful for any bug reports or other feedback. If you have ideas for new features you want to be included in JabRef, [tell us in our forum](http://discourse.jabref.org/c/features)! -If you need support in using JabRef, please read [the documentation](https://help.jabref.org/) first and have a look at our [community forum](http://discourse.jabref.org/c/help). +If you need support in using JabRef, please read [the documentation](https://docs.jabref.org/) first and have a look at our [community forum](https://discourse.jabref.org/c/help). You can use our [GitHub issue tracker](https://github.com/JabRef/jabref/issues) to file bug reports. An explanation of donation possibilities and usage of donations is available at our [donations page](https://donations.jabref.org). diff --git a/docs/adr/0001-use-crowdin-for-translations.md b/docs/adr/0001-use-crowdin-for-translations.md index 0d8955782abb..5b53d44fad65 100644 --- a/docs/adr/0001-use-crowdin-for-translations.md +++ b/docs/adr/0001-use-crowdin-for-translations.md @@ -9,7 +9,7 @@ The JabRef UI is offered in multiple languages. It should be easy for translator * Use [Crowdin](http://crowdin.com/) * Use [popeye](https://github.com/JabRef/popeye) * Use [Lingohub](https://lingohub.com/) -* Keep current GitHub flow. See the [Step-by-step guide](https://github.com/JabRef/help.jabref.org/blob/d5569bebdb0e1de5c71401bbfba45311c19c80a8/en/TranslatingGUI.md#step-by-step-guide). +* Keep current GitHub flow. See the [Step-by-step guide](https://docs.jabref.org/faq/how-to-translate-the-ui). ## Decision Outcome diff --git a/docs/adr/0004-use-mariadb-connector.md b/docs/adr/0004-use-mariadb-connector.md index 413364bfe356..b7d361f7e6cb 100644 --- a/docs/adr/0004-use-mariadb-connector.md +++ b/docs/adr/0004-use-mariadb-connector.md @@ -3,7 +3,7 @@ ## Context and Problem Statement JabRef needs to connect to a MySQL database. -See [Shared SQL Database](https://help.jabref.org/en/SQLDatabase) for more information. +See [Shared SQL Database](https://docs.jabref.org/collaborative-work/sqldatabase) for more information. ## Considered Options diff --git a/docs/adr/0005-fully-support-utf8-only-for-latex-files.md b/docs/adr/0005-fully-support-utf8-only-for-latex-files.md index 6e066e8b7d89..337511fe0c49 100644 --- a/docs/adr/0005-fully-support-utf8-only-for-latex-files.md +++ b/docs/adr/0005-fully-support-utf8-only-for-latex-files.md @@ -2,7 +2,7 @@ ## Context and Problem Statement -The feature [search for citations](https://github.com/JabRef/help.jabref.org/issues/210) displays the content of LaTeX files. +The feature [search for citations](https://github.com/JabRef/user-documentation/issues/210) displays the content of LaTeX files. The LaTeX files are text files and might be encoded arbitrarily. ## Considered Options diff --git a/src/main/java/org/jabref/gui/help/HelpAction.java b/src/main/java/org/jabref/gui/help/HelpAction.java index 603e055abaf0..912869a623dd 100644 --- a/src/main/java/org/jabref/gui/help/HelpAction.java +++ b/src/main/java/org/jabref/gui/help/HelpAction.java @@ -30,15 +30,7 @@ public HelpAction(HelpFile helpPage) { } public static void openHelpPage(HelpFile helpPage) { - String lang = Globals.prefs.get(JabRefPreferences.LANGUAGE); - StringBuilder sb = new StringBuilder("https://help.jabref.org/"); - - if (AVAILABLE_LANG_FILES.contains(lang)) { - sb.append(lang); - sb.append("/"); - } else { - sb.append("en/"); - } + StringBuilder sb = new StringBuilder("https://docs.jabref.org/"); sb.append(helpPage.getPageName()); JabRefDesktop.openBrowserShowPopup(sb.toString()); } diff --git a/src/main/java/org/jabref/logic/help/HelpFile.java b/src/main/java/org/jabref/logic/help/HelpFile.java index c679bd58f17c..ba7eed901dea 100644 --- a/src/main/java/org/jabref/logic/help/HelpFile.java +++ b/src/main/java/org/jabref/logic/help/HelpFile.java @@ -3,56 +3,47 @@ /** * This enum globally defines all help pages with the name of the markdown file in the help repository at Github. * - * @see help.jabref.org@github + * @see user-documentation@github */ public enum HelpFile { - COMMAND_LINE(""), - //Empty because it refers to the TOC/index - CONTENTS(""), - ENTRY_EDITOR("EntryEditor"), - STRING_EDITOR("StringEditor"), - SEARCH("Search"), - GROUP("Groups"), - CONTENT_SELECTOR("ContentSelector"), - SPECIAL_FIELDS("SpecialFields"), - BIBTEX_KEY_PATTERN("BibtexKeyPatterns"), + // empty string denotes that it refers to the TOC/index + CONTENTS(""), // this is always the index + ENTRY_EDITOR("general/entryeditor"), + STRING_EDITOR("setup/stringeditor"), + SPECIAL_FIELDS("fields/specialfields"), + BIBTEX_KEY_PATTERN("setup/bibtexkeypatterns"), OWNER("Owner"), TIMESTAMP("TimeStamp"), - CUSTOM_EXPORTS("CustomExports"), CUSTOM_EXPORTS_NAME_FORMATTER("CustomExports#NameFormatter"), - CUSTOM_IMPORTS("CustomImports"), - GENERAL_FIELDS("GeneralFields"), - IMPORT_INSPECTION("ImportInspectionDialog"), - REMOTE("Remote"), - JOURNAL_ABBREV("JournalAbbreviations"), - REGEX_SEARCH("ExternalFiles#RegularExpressionSearch"), - PREVIEW("Preview"), - AUTOSAVE("Autosave"), + GENERAL_FIELDS("setup/generalfields"), + REMOTE("general/remote"), + REGEX_SEARCH("fields/filelinks#RegularExpressionSearch"), + PREVIEW("setup/review"), + AUTOSAVE("general/autosave"), //The help page covers both OO and LO. - OPENOFFICE_LIBREOFFICE("OpenOfficeIntegration"), - FETCHER_ACM("ACMPortal"), - FETCHER_ADS("ADS"), + OPENOFFICE_LIBREOFFICE("import-export/openofficeintegration"), + FETCHER_ACM("import-using-online-bibliographic-database/acmportal"), + FETCHER_ADS("import-using-online-bibliographic-database/ads"), FETCHER_BIBSONOMY_SCRAPER(""), - FETCHER_CITESEERX("CiteSeer"), - FETCHER_DBLP("DBLP"), - FETCHER_DIVA("DiVAtoBibTeX"), - FETCHER_DOAJ("DOAJ"), - FETCHER_DOI("DOItoBibTeX"), - FETCHER_GOOGLE_SCHOLAR("GoogleScholar"), - FETCHER_GVK("GVK"), - FETCHER_IEEEXPLORE("IEEEXplore"), - FETCHER_INSPIRE("INSPIRE"), - FETCHER_ISBN("ISBNtoBibTeX"), - FETCHER_MEDLINE("Medline"), - FETCHER_OAI2_ARXIV("arXiv"), - FETCHER_RFC("RFCtoBibTeX"), - FETCHER_SPRINGER("Springer"), - FETCHER_TITLE("TitleToBibTeX"), + FETCHER_CITESEERX("import-using-online-bibliographic-database/citeseer"), + FETCHER_DBLP("import-using-online-bibliographic-database/dblp"), + FETCHER_DIVA("import-using-online-bibliographic-database/divatobibtex"), + FETCHER_DOAJ("import-using-online-bibliographic-database/doaj"), + FETCHER_DOI("import-using-publication-identifiers/doitobibtex"), + FETCHER_GOOGLE_SCHOLAR("import-using-online-bibliographic-database/googlescholar"), + FETCHER_GVK("import-using-online-bibliographic-database/gvk"), + FETCHER_IEEEXPLORE("import-using-online-bibliographic-database/ieeeexplore"), + FETCHER_INSPIRE("import-using-online-bibliographic-database/inspire"), + FETCHER_ISBN("import-using-publication-identifiers/isbntobibtex"), + FETCHER_MEDLINE("import-using-online-bibliographic-database/medline"), + FETCHER_OAI2_ARXIV("import-using-online-bibliographic-database/arxiv"), + FETCHER_RFC("import-using-publication-identifiers/rfctobibtex"), + FETCHER_SPRINGER("import-using-online-bibliographic-database/springer"), + FETCHER_TITLE("import-using-publication-identifiers/titletobibex"), FETCHER_SCIENCEDIRECT(""), - DATABASE_PROPERTIES("DatabaseProperties"), - FIND_DUPLICATES("FindDuplicates"), - SQL_DATABASE_MIGRATION("SQLDatabaseMigration"), - SQL_DATABASE("SQLDatabase"); + DATABASE_PROPERTIES("setup/databaseproperties"), + FIND_DUPLICATES("finding-sorting-and-cleaning-entries/findduplicates"), + SQL_DATABASE_MIGRATION("collaborative-work/sqldatabasemigration"); private final String pageName; diff --git a/src/main/java/org/jabref/logic/importer/fetcher/MedlineFetcher.java b/src/main/java/org/jabref/logic/importer/fetcher/MedlineFetcher.java index 8577bbf6b823..9168c7f7282e 100644 --- a/src/main/java/org/jabref/logic/importer/fetcher/MedlineFetcher.java +++ b/src/main/java/org/jabref/logic/importer/fetcher/MedlineFetcher.java @@ -42,7 +42,7 @@ /** * Fetch or search from PubMed www.ncbi.nlm.nih.gov * The MedlineFetcher fetches the entries from the PubMed database. - * See help.jabref.org for a detailed documentation of the available fields. + * See docs.jabref.org for a detailed documentation of the available fields. */ public class MedlineFetcher implements IdBasedParserFetcher, SearchBasedFetcher { private static final Logger LOGGER = LoggerFactory.getLogger(MedlineFetcher.class); diff --git a/src/main/java/org/jabref/model/entry/Month.java b/src/main/java/org/jabref/model/entry/Month.java index bb9d3b441478..b962a0540e6d 100644 --- a/src/main/java/org/jabref/model/entry/Month.java +++ b/src/main/java/org/jabref/model/entry/Month.java @@ -170,7 +170,7 @@ public String getShortName() { * * See Issue 263 for a discussion on that thing. * This seems to be an invalid format in terms of plain BiBTeX, but a valid format in the case of JabRef. - * The documentation is available at the Strings help of JabRef. + * The documentation is available at the Strings help of JabRef. * * @return Month in JabRef format */ diff --git a/src/test/java/org/jabref/logic/help/HelpFileTest.java b/src/test/java/org/jabref/logic/help/HelpFileTest.java index 0b97be002e12..0d591dcc2662 100644 --- a/src/test/java/org/jabref/logic/help/HelpFileTest.java +++ b/src/test/java/org/jabref/logic/help/HelpFileTest.java @@ -12,7 +12,7 @@ public class HelpFileTest { - private final String jabrefHelp = "https://help.jabref.org/en/"; + private final String jabrefHelp = "https://docs.jabref.org/"; @Test public void referToValidPage() throws IOException { diff --git a/src/test/java/org/jabref/logic/importer/fetcher/AstrophysicsDataSystemTest.java b/src/test/java/org/jabref/logic/importer/fetcher/AstrophysicsDataSystemTest.java index f31410195241..55038ea1033b 100644 --- a/src/test/java/org/jabref/logic/importer/fetcher/AstrophysicsDataSystemTest.java +++ b/src/test/java/org/jabref/logic/importer/fetcher/AstrophysicsDataSystemTest.java @@ -49,6 +49,7 @@ public void setUp() throws Exception { diezSliceTheoremEntry.setField(StandardField.URL, "https://ui.adsabs.harvard.edu/abs/2018arXiv181204698D"); diezSliceTheoremEntry.setField(StandardField.ABSTRACT, "We establish a general slice theorem for the action of a locally convex Lie group on a locally convex manifold, which generalizes the classical slice theorem of Palais to infinite dimensions. We discuss two important settings under which the assumptions of this theorem are fulfilled. First, using Gl{\\\"o}ckner's inverse function theorem, we show that the linear action of a compact Lie group on a Fr{\\'e}chet space admits a slice. Second, using the Nash--Moser theorem, we establish a slice theorem for the tame action of a tame Fr{\\'e}chet Lie group on a tame Fr{\\'e}chet manifold. For this purpose, we develop the concept of a graded Riemannian metric, which allows the construction of a path-length metric compatible with the manifold topology and of a local addition. Finally, generalizing a classical result in finite dimensions, we prove that the existence of a slice implies that the decomposition of the manifold into orbit types of the group action is a stratification."); + diezSliceTheoremEntry.setField(StandardField.ABSTRACT, "Not Available

"); famaeyMcGaughEntry = new BibEntry(); famaeyMcGaughEntry.setType(StandardEntryType.Article); @@ -96,6 +97,7 @@ public void setUp() throws Exception { xiongSunEntry.setField(StandardField.VOLUME, "45"); xiongSunEntry.setField(StandardField.YEAR, "2007"); xiongSunEntry.setField(StandardField.URL, "https://ui.adsabs.harvard.edu/abs/2007ITGRS..45..879X"); + xiongSunEntry.setField(StandardField.ABSTRACT, "Not Available

"); ingersollPollardEntry = new BibEntry(); ingersollPollardEntry.setType(StandardEntryType.Article); @@ -127,11 +129,12 @@ public void setUp() throws Exception { luceyPaulEntry.setField(StandardField.URL, "https://ui.adsabs.harvard.edu/abs/2000JGR...10520297L"); luceyPaulEntry.setField(StandardField.MONTH, "Jan"); luceyPaulEntry.setField(StandardField.NUMBER, "E8"); + luceyPaulEntry.setField(StandardField.ABSTRACT, "Not Available

"); } @Test public void testHelpPage() { - assertEquals("ADS", fetcher.getHelpPage().get().getPageName()); + assertEquals("import-using-online-bibliographic-database/ads", fetcher.getHelpPage().get().getPageName()); } @Test diff --git a/src/test/java/org/jabref/logic/importer/fetcher/IEEETest.java b/src/test/java/org/jabref/logic/importer/fetcher/IEEETest.java index 112fc0f0efb5..3303aab46699 100644 --- a/src/test/java/org/jabref/logic/importer/fetcher/IEEETest.java +++ b/src/test/java/org/jabref/logic/importer/fetcher/IEEETest.java @@ -97,9 +97,9 @@ void searchResultHasNoKeywordTerms() throws FetcherException { expected.setField(StandardField.AUTHOR, "Shatakshi Jha and Ikhlaq Hussain and Bhim Singh and Sukumar Mishra"); expected.setField(StandardField.DATE, "25 2 2019"); + expected.setField(StandardField.YEAR, "2019"); expected.setField(StandardField.DOI, "10.1049/iet-rpg.2018.5648"); expected.setField(StandardField.FILE, ":https\\://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=8636659:PDF"); - expected.setField(StandardField.ISSN, "1752-1416"); expected.setField(StandardField.ISSUE, "3"); expected.setField(StandardField.JOURNALTITLE, "IET Renewable Power Generation"); expected.setField(StandardField.PAGES, "418--426"); @@ -118,12 +118,11 @@ void searchByQueryFindsEntry() throws Exception { BibEntry expected = new BibEntry(StandardEntryType.InProceedings); expected.setField(StandardField.AUTHOR, "Igor Steinmacher and Tayana Uchoa Conte and Christoph Treude and Marco Aurélio Gerosa"); expected.setField(StandardField.DATE, "14-22 May 2016"); + expected.setField(StandardField.YEAR, "2016"); expected.setField(StandardField.EVENTDATE, "14-22 May 2016"); expected.setField(StandardField.EVENTTITLEADDON, "Austin, TX"); expected.setField(StandardField.LOCATION, "Austin, TX"); expected.setField(StandardField.DOI, "10.1145/2884781.2884806"); - expected.setField(StandardField.ISBN, "978-1-4503-3900-1"); - expected.setField(StandardField.ISSN, "1558-1225"); expected.setField(StandardField.JOURNALTITLE, "2016 IEEE/ACM 38th International Conference on Software Engineering (ICSE)"); expected.setField(StandardField.PAGES, "273--284"); expected.setField(StandardField.PUBLISHER, "IEEE"); diff --git a/src/test/java/org/jabref/logic/importer/fetcher/IsbnFetcherTest.java b/src/test/java/org/jabref/logic/importer/fetcher/IsbnFetcherTest.java index 4c1fe285d31a..b699c6290e78 100644 --- a/src/test/java/org/jabref/logic/importer/fetcher/IsbnFetcherTest.java +++ b/src/test/java/org/jabref/logic/importer/fetcher/IsbnFetcherTest.java @@ -51,7 +51,7 @@ void testName() { @Test void testHelpPage() { - assertEquals("ISBNtoBibTeX", fetcher.getHelpPage().get().getPageName()); + assertEquals("import-using-publication-identifiers/isbntobibtex", fetcher.getHelpPage().get().getPageName()); } @Test diff --git a/src/test/java/org/jabref/logic/importer/fetcher/IsbnViaEbookDeFetcherTest.java b/src/test/java/org/jabref/logic/importer/fetcher/IsbnViaEbookDeFetcherTest.java index 90d8b99902fc..9f9977021a42 100644 --- a/src/test/java/org/jabref/logic/importer/fetcher/IsbnViaEbookDeFetcherTest.java +++ b/src/test/java/org/jabref/logic/importer/fetcher/IsbnViaEbookDeFetcherTest.java @@ -46,7 +46,7 @@ public void testName() { @Test @Override public void testHelpPage() { - assertEquals("ISBNtoBibTeX", fetcher.getHelpPage().get().getPageName()); + assertEquals("import-using-publication-identifiers/isbntobibtex", fetcher.getHelpPage().get().getPageName()); } @Test diff --git a/src/test/java/org/jabref/logic/importer/fetcher/IsbnViaOttoBibFetcherTest.java b/src/test/java/org/jabref/logic/importer/fetcher/IsbnViaOttoBibFetcherTest.java index c6f6a05fc77f..526e5c57539c 100644 --- a/src/test/java/org/jabref/logic/importer/fetcher/IsbnViaOttoBibFetcherTest.java +++ b/src/test/java/org/jabref/logic/importer/fetcher/IsbnViaOttoBibFetcherTest.java @@ -43,7 +43,7 @@ public void testName() { @Test @Override public void testHelpPage() { - assertEquals("ISBNtoBibTeX", fetcher.getHelpPage().get().getPageName()); + assertEquals("import-using-publication-identifiers/isbntobibtex", fetcher.getHelpPage().get().getPageName()); } @Test diff --git a/src/test/java/org/jabref/logic/importer/fetcher/OpenAccessDoiTest.java b/src/test/java/org/jabref/logic/importer/fetcher/OpenAccessDoiTest.java index d4335eb187b2..db4c1271a5f5 100644 --- a/src/test/java/org/jabref/logic/importer/fetcher/OpenAccessDoiTest.java +++ b/src/test/java/org/jabref/logic/importer/fetcher/OpenAccessDoiTest.java @@ -29,7 +29,7 @@ void setUp() { void findByDOI() throws IOException { entry.setField(StandardField.DOI, "10.1038/nature12373"); - assertEquals(Optional.of(new URL("https://dash.harvard.edu/bitstream/handle/1/12285462/Nanometer-Scale%20Thermometry.pdf?sequence=1")), finder.findFullText(entry)); + assertEquals(Optional.of(new URL("https://dash.harvard.edu/bitstream/1/12285462/Nanometer-Scale%20Thermometry.pdf?sequence=1")), finder.findFullText(entry)); } @Test diff --git a/src/test/java/org/jabref/logic/importer/fileformat/BibtexParserTest.java b/src/test/java/org/jabref/logic/importer/fileformat/BibtexParserTest.java index b4ac66f03d45..b5780306e55f 100644 --- a/src/test/java/org/jabref/logic/importer/fileformat/BibtexParserTest.java +++ b/src/test/java/org/jabref/logic/importer/fileformat/BibtexParserTest.java @@ -1715,7 +1715,7 @@ void parseYear() throws Exception { @Test void parseEntryUsingStringConstantsForTwoAuthorsWithEtAsStringConstant() throws ParseException { - // source of the example: https://github.com/JabRef/help.jabref.org/blob/gh-pages/en/Strings.md + // source of the example: https://docs.jabref.org/fields/strings Collection parsed = parser .parseEntries("@String { kopp = \"Kopp, Oliver\" }" + "@String { kubovy = \"Kubovy, Jan\" }" + @@ -1731,7 +1731,7 @@ void parseEntryUsingStringConstantsForTwoAuthorsWithEtAsStringConstant() throws @Test void parseStringConstantsForTwoAuthorsHasCorrectBibTeXEntry() throws ParseException { - // source of the example: https://github.com/JabRef/help.jabref.org/blob/gh-pages/en/Strings.md + // source of the example: https://docs.jabref.org/fields/strings Collection parsed = parser .parseEntries("@String { kopp = \"Kopp, Oliver\" }" + "@String { kubovy = \"Kubovy, Jan\" }" + @@ -1747,7 +1747,7 @@ void parseStringConstantsForTwoAuthorsHasCorrectBibTeXEntry() throws ParseExcept @Test void parseStringConstantsForTwoAuthors() throws ParseException { - // source of the example: https://github.com/JabRef/help.jabref.org/blob/gh-pages/en/Strings.md + // source of the example: https://docs.jabref.org/fields/strings Collection parsed = parser .parseEntries("@String { kopp = \"Kopp, Oliver\" }" + "@String { kubovy = \"Kubovy, Jan\" }" + diff --git a/src/test/java/org/jabref/model/entry/BibtexStringTest.java b/src/test/java/org/jabref/model/entry/BibtexStringTest.java index c6b251410f49..1d418a13f7b1 100644 --- a/src/test/java/org/jabref/model/entry/BibtexStringTest.java +++ b/src/test/java/org/jabref/model/entry/BibtexStringTest.java @@ -97,28 +97,28 @@ public void getContentNeverReturnsNull() { @Test public void authorTypeCorrectlyDetermined() { - // Source of the example: https://help.jabref.org/en/Strings + // Source of the example: https://docs.jabref.org/fields/strings BibtexString bibtexString = new BibtexString("aKopp", "KoppOliver"); assertEquals(BibtexString.Type.AUTHOR, bibtexString.getType()); } @Test public void institutionTypeCorrectlyDetermined() { - // Source of the example: https://help.jabref.org/en/Strings + // Source of the example: https://docs.jabref.org/fields/strings BibtexString bibtexString = new BibtexString("iMIT", "{Massachusetts Institute of Technology ({MIT})}"); assertEquals(BibtexString.Type.INSTITUTION, bibtexString.getType()); } @Test public void otherTypeCorrectlyDeterminedForLowerCase() { - // Source of the example: https://help.jabref.org/en/Strings + // Source of the example: https://docs.jabref.org/fields/strings BibtexString bibtexString = new BibtexString("anct", "Anecdote"); assertEquals(BibtexString.Type.OTHER, bibtexString.getType()); } @Test public void otherTypeCorrectlyDeterminedForUpperCase() { - // Source of the example: https://help.jabref.org/en/Strings + // Source of the example: https://docs.jabref.org/fields/strings BibtexString bibtexString = new BibtexString("lTOSCA", "Topology and Orchestration Specification for Cloud Applications"); assertEquals(BibtexString.Type.OTHER, bibtexString.getType()); }