Skip to content

Commit 109af28

Browse files
kopporgitbook-bot
authored andcommitted
GitBook: [#34] Add link to config of "Auto import feature"
1 parent 93b8025 commit 109af28

File tree

8 files changed

+146
-146
lines changed

8 files changed

+146
-146
lines changed

docs/.gitbook/assets/grafik.png

16.2 KB
Loading

docs/README.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ For users documentation, please head to [https://docs.jabref.org](https://docs.j
1313
## How tos
1414

1515
* External: [Sync your fork with the JabRef repository](https://help.github.com/articles/syncing-a-fork/)
16-
* External \(🇩🇪\): Branches and pull requests: [https://github.com/unibas-marcelluethi/software-engineering/blob/master/docs/week2/exercises/practical-exercises.md](https://github.com/unibas-marcelluethi/software-engineering/blob/master/docs/week2/exercises/practical-exercises.md)
16+
* External (🇩🇪): Branches and pull requests: [https://github.com/unibas-marcelluethi/software-engineering/blob/master/docs/week2/exercises/practical-exercises.md](https://github.com/unibas-marcelluethi/software-engineering/blob/master/docs/week2/exercises/practical-exercises.md)
1717

1818
## Teaching Exercises
1919

@@ -27,9 +27,9 @@ The package `org.jabref.cli` is responsible for handling the command line option
2727

2828
During development, one can configure IntelliJ to pass command line parameters:
2929

30-
![IntelliJ-run-configuration](.gitbook/assets/intellij-run-configuration-command-line%20%282%29%20%282%29%20%281%29.png)
30+
![IntelliJ-run-configuration](<.gitbook/assets/intellij-run-configuration-command-line (2) (2) (3).png>)
3131

32-
Passing command line arguments using gradle is currently not possible as all arguments \(such as `-Dfile.encoding=windows-1252`\) are passed to the application.
32+
Passing command line arguments using gradle is currently not possible as all arguments (such as `-Dfile.encoding=windows-1252`) are passed to the application.
3333

3434
Without jlink, it is not possible to generate a fat jar any more. During development, the capabilities of the IDE has to be used.
3535

@@ -41,13 +41,12 @@ Diagram showing aspects of groups: [Groups.uml](https://github.com/JabRef/jabref
4141

4242
[Architectural decisions for JabRef](adr.md) are recorded.
4343

44-
For new ADRs, please use [template.md](https://github.com/JabRef/jabref/tree/3b3716b1e05a0d3273c886e102a8efe5e96472e0/docs/adr/template.md) as basis. More information on MADR is available at [https://adr.github.io/madr/](https://adr.github.io/madr/). General information about architectural decision records is available at [https://adr.github.io/](https://adr.github.io/). Add them to the [list of architectural decision records](adr.md).
44+
For new ADRs, please use [template.md](https://github.com/JabRef/jabref/tree/3b3716b1e05a0d3273c886e102a8efe5e96472e0/docs/adr/template.md) as basis. More information on MADR is available at [https://adr.github.io/madr/](https://adr.github.io/madr/). General information about architectural decision records is available at [https://adr.github.io/](https://adr.github.io). Add them to the [list of architectural decision records](adr.md).
4545

4646
## FAQ
4747

48-
* Q: I get `java: package org.jabref.logic.journals does not exist`.
48+
* Q: I get `java: package org.jabref.logic.journals does not exist`.
4949

50-
A: You have to ignore `buildSrc/src/main` as source directory in IntelliJ as indicated in our [setup guide](https://devdocs.jabref.org/getting-into-the-code/guidelines-for-setting-up-a-local-workspace).
51-
52-
Also filed as IntelliJ issue [IDEA-240250](https://youtrack.jetbrains.com/issue/IDEA-240250).
50+
A: You have to ignore `buildSrc/src/main` as source directory in IntelliJ as indicated in our [setup guide](https://devdocs.jabref.org/getting-into-the-code/guidelines-for-setting-up-a-local-workspace).
5351

52+
Also filed as IntelliJ issue [IDEA-240250](https://youtrack.jetbrains.com/issue/IDEA-240250).

docs/advanced-reading/fetchers.md

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
Fetchers are the implementation of the [search using online services](https://docs.jabref.org/collect/import-using-online-bibliographic-database). Some fetchers require API keys to get them working. To get the fetchers running in a JabRef development setup, the keys need to be placed in the respective environment variable. The following table lists the respective fetchers, where to get the key from and the environment variable where the key has to be placed.
44

5-
| Service | Key Source | Environment Variable | Rate Limit |
6-
| :--- | :--- | :--- | :--- |
7-
| [IEEEXplore](https://docs.jabref.org/collect/import-using-online-bibliographic-database#ieeexplore) | [IEEE Xplore API portal](https://developer.ieee.org/) | `IEEEAPIKey` | 200 calls/day |
8-
| [MathSciNet](http://www.ams.org/mathscinet) | \(none\) | \(none\) | Depending on the current network |
9-
| [SAO/NASA Astrophysics Data System](https://docs.jabref.org/collect/import-using-online-bibliographic-database#sao-nasa-astrophysics-data-system) | [ADS UI](https://ui.adsabs.harvard.edu/user/settings/token) | `AstrophysicsDataSystemAPIKey` | 5000 calls/day |
10-
| [ScienceDirect](https://www.sciencedirect.com/) | | `ScienceDirectApiKey` | |
11-
| [Springer Nature](https://docs.jabref.org/collect/import-using-online-bibliographic-database#springer) | [Springer Nature API Portal](https://dev.springernature.com/) | `SpringerNatureAPIKey` | 5000 calls/day |
12-
| [Zentralblatt Math](https://www.zbmath.org/) | \(none\) | \(none\) | Depending on the current network |
5+
| Service | Key Source | Environment Variable | Rate Limit |
6+
| ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------ | ------------------------------ | -------------------------------- |
7+
| [IEEEXplore](https://docs.jabref.org/collect/import-using-online-bibliographic-database#ieeexplore) | [IEEE Xplore API portal](https://developer.ieee.org) | `IEEEAPIKey` | 200 calls/day |
8+
| [MathSciNet](http://www.ams.org/mathscinet) | (none) | (none) | Depending on the current network |
9+
| [SAO/NASA Astrophysics Data System](https://docs.jabref.org/collect/import-using-online-bibliographic-database#sao-nasa-astrophysics-data-system) | [ADS UI](https://ui.adsabs.harvard.edu/user/settings/token) | `AstrophysicsDataSystemAPIKey` | 5000 calls/day |
10+
| [ScienceDirect](https://www.sciencedirect.com) | | `ScienceDirectApiKey` | |
11+
| [Springer Nature](https://docs.jabref.org/collect/import-using-online-bibliographic-database#springer) | [Springer Nature API Portal](https://dev.springernature.com) | `SpringerNatureAPIKey` | 5000 calls/day |
12+
| [Zentralblatt Math](https://www.zbmath.org) | (none) | (none) | Depending on the current network |
1313

1414
"Depending on the current network" means that it depends on whether your request is routed through a network having paid access. For instance, some universities have subscriptions to MathSciNet.
1515

@@ -19,23 +19,23 @@ JabRef supports different kinds of fetchers:
1919

2020
* `EntryBasedFetcher`: Completes an existing bibliographic entry with information retrieved by the fetcher
2121
* `FulltextFetcher`: Searches for a PDF for an exiting bibliography entry
22-
* `SearchBasedFetcher`: Searches providers using a given query and returns a set of \(new\) bibliography entry. The user-facing side is implemented in the UI described at [https://docs.jabref.org/collect/import-using-online-bibliographic-database](https://docs.jabref.org/collect/import-using-online-bibliographic-database).
22+
* `SearchBasedFetcher`: Searches providers using a given query and returns a set of (new) bibliography entry. The user-facing side is implemented in the UI described at [https://docs.jabref.org/collect/import-using-online-bibliographic-database](https://docs.jabref.org/collect/import-using-online-bibliographic-database).
2323

24-
There are more fetchers supported by JabRef. Investigate the package `org.jabref.logic.importer`. Another possibility is to investigate the inheritance relation of `WebFetcher` \(Ctrl+H in IntelliJ\).
24+
There are more fetchers supported by JabRef. Investigate the package `org.jabref.logic.importer`. Another possibility is to investigate the inheritance relation of `WebFetcher` (Ctrl+H in IntelliJ).
2525

2626
## Fulltext Fetchers
2727

2828
* all fulltext fetchers run in parallel
2929
* the result with the highest priority wins
30-
* `InterruptedException` \| `ExecutionException` \| `CancellationException` are ignored
30+
* `InterruptedException` | `ExecutionException` | `CancellationException` are ignored
3131

3232
### Trust Levels
3333

34-
* `SOURCE` \(highest\): definitive URL for a particular paper
34+
* `SOURCE `(highest): definitive URL for a particular paper
3535
* `PUBLISHER`: any publisher library
3636
* `PREPRINT`: any preprint library that might include non final publications of a paper
3737
* `META_SEARCH`: meta search engines
38-
* `UNKNOWN` \(lowest\): anything else not fitting the above categories
38+
* `UNKNOWN `(lowest): anything else not fitting the above categories
3939

4040
### Current trust levels
4141

@@ -46,22 +46,22 @@ All fetchers are contained in the package `org.jabref.logic.importer.fetcher`. H
4646
* Springer: Publisher
4747
* ACS: Publisher
4848
* IEEE: Publisher
49-
* Google Scholar: META\_SEARCH, because it is a search engine
49+
* Google Scholar: META_SEARCH, because it is a search engine
5050
* Arxiv: PREPRINT, because preprints are published there
51-
* OpenAccessDOI: META\_SEARCH
51+
* OpenAccessDOI: META_SEARCH
5252

5353
Reasoning:
5454

5555
* A DOI uniquely identifies a paper. Per definition, a DOI leads to the right paper. Everything else is good guessing.
56-
* We assume the DOI resolution surely points to the correct paper and that publisher fetches may have errors: For instance, a title of a paper may lead to different publications of it. One the conference version, the other the journal version. --&gt; the PDF could be chosen randomly
56+
* We assume the DOI resolution surely points to the correct paper and that publisher fetches may have errors: For instance, a title of a paper may lead to different publications of it. One the conference version, the other the journal version. --> the PDF could be chosen randomly
5757

58-
Code was first introduced at [PR\#3882](https://github.com/JabRef/jabref/pull/3882).
58+
Code was first introduced at [PR#3882](https://github.com/JabRef/jabref/pull/3882).
5959

6060
## Background on embedding the keys in JabRef
6161

6262
The keys are placed into the `build.properties` file.
6363

64-
```text
64+
```
6565
springerNatureAPIKey=${springerNatureAPIKey}
6666
```
6767

@@ -78,4 +78,3 @@ new BuildInfo().springerNatureAPIKey
7878
```
7979

8080
When executing `./gradlew run`, gradle executes `processResources` and populates `build/build.properties` accordingly. However, when working directly in the IDE, Eclipse keeps reading `build.properties` from `src/main/resources`. In IntelliJ, the task `JabRef Main` is executing `./gradlew processResources` before running JabRef from the IDE to ensure the `build.properties` is properly populated.
81-

docs/contributing.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ In case you are an instructor and want to use **JabRef as a software engineering
1212

1313
We welcome contributions to JabRef and encourage you to follow the GitHub workflow specified below. If you are not familiar with this type of workflow, take a look at GitHub's excellent overview on the [GitHub flow](https://guides.github.com/introduction/flow/index.html) and the explanation of [Feature Branch Workflow](https://atlassian.com/git/tutorials/comparing-workflows#feature-branch-workflow) for the idea behind this kind of development.
1414

15-
1. Get the JabRef code on your local machine. Detailed instructions about this step can be found in our [guidelines for setting up a local workspace](https://devdocs.jabref.org/getting-into-the-code/guidelines-for-setting-up-a-local-workspace).
15+
1. Get the JabRef code on your local machine. Detailed instructions about this step can be found in our [guidelines for setting up a local workspace](getting-into-the-code/guidelines-for-setting-up-a-local-workspace.md).
1616
1. Fork the JabRef into your GitHub account.
1717
2. Clone your forked repository on your local machine.
18-
2. **Create a new branch** \(such as `fix-for-issue-121`\). Be sure to create a **separate branch** for each improvement you implement.
18+
2. **Create a new branch** (such as `fix-for-issue-121`). Be sure to create a **separate branch** for each improvement you implement.
1919
3. Do your work on the **new branch — not the master branch.** Refer to our [code how-tos](https://devdocs.jabref.org/getting-into-the-code/code-howtos) if you have questions about your implementation.
2020
4. Create a pull request. For an overview of pull requests, take a look at GitHub's [pull request help documentation](https://help.github.com/articles/about-pull-requests/).
2121
5. In case your pull request is not yet complete or not yet ready for review, consider creating a [draft pull request](https://github.blog/2019-02-14-introducing-draft-pull-requests/) instead.
@@ -30,7 +30,7 @@ The main goal of the formal requirements is to provide credit to you and to be a
3030

3131
You should edit the [`CHANGELOG.md`](https://github.com/JabRef/jabref/blob/master/CHANGELOG.md#changelog) file located in the root directory of the JabRef source. Add a line with your changes in the appropriate section.
3232

33-
If you did internal refactorings or improvements not visible to the user \(e.g., UI, .bib file\), then you don't need to put an entry there.
33+
If you did internal refactorings or improvements not visible to the user (e.g., UI, .bib file), then you don't need to put an entry there.
3434

3535
#### **Format of keyboard shortcuts**
3636

@@ -63,7 +63,7 @@ Add new `Localization.lang("KEY")` to a Java file. The tests will fail. In the t
6363

6464
Example:
6565

66-
```text
66+
```
6767
java.lang.AssertionError: DETECTED LANGUAGE KEYS WHICH ARE NOT IN THE ENGLISH LANGUAGE FILE
6868
PASTE THESE INTO THE ENGLISH LANGUAGE FILE
6969
[
@@ -79,17 +79,17 @@ You can also directly run the specific test in your IDE. The test "LocalizationC
7979

8080
#### When adding a library
8181

82-
Please try to use a version available at JCenter and add it to `build.gradle`. In any case, describe the library at [`external-libraries.md`](https://github.com/JabRef/jabref/blob/master/external-libraries.md#external-libraries). We need that information for our package maintainers \(e.g., those of the [debian package](https://tracker.debian.org/pkg/jabref)\). Also add a txt file stating the license in `libraries/`. It is used at `gradlew processResources` to generate the About.html files. You can see the result in `build\resources\main\help\en\About.html` or when clicking Help -&gt; About.
82+
Please try to use a version available at JCenter and add it to `build.gradle`. In any case, describe the library at [`external-libraries.md`](https://github.com/JabRef/jabref/blob/master/external-libraries.md#external-libraries). We need that information for our package maintainers (e.g., those of the [debian package](https://tracker.debian.org/pkg/jabref)). Also add a txt file stating the license in `libraries/`. It is used at `gradlew processResources` to generate the About.html files. You can see the result in `build\resources\main\help\en\About.html` or when clicking Help -> About.
8383

8484
#### When making an architectural decision
8585

86-
In case you add a library or do major code rewrites, we ask you to document your decision. Recommended reading: [https://adr.github.io/](https://adr.github.io/).
86+
In case you add a library or do major code rewrites, we ask you to document your decision. Recommended reading: [https://adr.github.io/](https://adr.github.io).
8787

8888
We simply ask to create a new markdown file in `docs/adr` following the template presented at [https://adr.github.io/madr/](https://adr.github.io/madr/).
8989

90-
In case you want to directly add a comment to a class, simply use the following template \(based on [sustainable architectural decisions](https://www.infoq.com/articles/sustainable-architectural-design-decisions)\):
90+
In case you want to directly add a comment to a class, simply use the following template (based on [sustainable architectural decisions](https://www.infoq.com/articles/sustainable-architectural-design-decisions)):
9191

92-
```text
92+
```
9393
In the context of <use case/user story u>,
9494
facing <concern c>
9595
we decided for <option o>
@@ -103,7 +103,7 @@ because <additional rationale>.
103103

104104
Create a pull request on GitHub following GitHub's guide "[Creating a pull request from a fork](https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request-from-a-fork)". For text inspirations, consider [How to write the perfect pull request](https://github.com/blog/1943-how-to-write-the-perfect-pull-request).
105105

106-
If you want to indicate that a pull request is not yet complete **before** creating the pull request, you may consider creating a [draft pull request](https://github.blog/2019-02-14-introducing-draft-pull-requests/). Alternatively, once the PR has been created, you can add the prefix `[WIP]` \(which stands for "Work in Progress"\) to indicate that the pull request is not yet complete, but you want to discuss something or inform about the current state of affairs.
106+
If you want to indicate that a pull request is not yet complete **before** creating the pull request, you may consider creating a [draft pull request](https://github.blog/2019-02-14-introducing-draft-pull-requests/). Alternatively, once the PR has been created, you can add the prefix `[WIP]` (which stands for "Work in Progress") to indicate that the pull request is not yet complete, but you want to discuss something or inform about the current state of affairs.
107107

108108
## How to improve the developer's documentation
109109

@@ -116,4 +116,3 @@ In case you use some gitbook special features, and you want to test them, checko
116116
3. `gitbook serve`
117117

118118
Then, you can see a near-to-reality rendering of the development documentation at [http://localhost:4000](http://localhost:4000).
119-

0 commit comments

Comments
 (0)