From cb69a90a64014b55c46ca3c09adfb6d40227b3cc Mon Sep 17 00:00:00 2001 From: Jathin Sreenivas Date: Wed, 16 Sep 2020 15:21:56 +0200 Subject: [PATCH] Documentation style changes (#3178) * Fixes for Issue #3059 * Removed menuItems class for values (typed or displayed) and replaced with ` ` * Styling of various items * Documentation style changes * Menu Item styling * Document Style Changes - Line Break & border color --- docs/docs/manual/installing.md | 42 +++++++++--------- docs/docs/manual/running.md | 38 ++++++++-------- docs/docs/manual/starting.md | 40 ++++++++--------- docs/src/css/custom.css | 81 ++++++++++++++++++++++++++++++++++ 4 files changed, 141 insertions(+), 60 deletions(-) diff --git a/docs/docs/manual/installing.md b/docs/docs/manual/installing.md index c121c09de..2e4c5a5b4 100644 --- a/docs/docs/manual/installing.md +++ b/docs/docs/manual/installing.md @@ -93,16 +93,16 @@ import TabItem from '@theme/TabItem'; -1. On Windows 10, click the Windows start menu button, type "env," and look at the search results. Click “Edit the system environment variables.” (If you are using an earlier version of Windows, use the “Search” or “Search programs and files” box in the start menu.) +1. On Windows 10, click the Windows start menu button, type `env`, and look at the search results. **Edit the system environment** variables. (If you are using an earlier version of Windows, use the **Search** or **Search programs and files** box in the start menu.) ![A screenshot of the search results for 'env'.](/img/env.png "A screenshot of the search results for 'env'.") -2. Click “Environment Variables…” at the bottom of the “Advanced” window that appears. -3. In the “Environment Variables” dialog that appears, click “New…” and create a variable with the key `JAVA_HOME`. You can set the variable for only your user account, as in the screenshot below, or set it as a system variable - it will work either way. +2. Click **Environment Variables…** at the bottom of the **Advanced** window that appears. +3. In the **Environment Variables** dialog that appears, click **New…** and create a variable with the key `JAVA_HOME`. You can set the variable for only your user account, as in the screenshot below, or set it as a system variable - it will work either way. ![A screenshot of 'Environment Variables'.](/img/javahome.png "A screenshot of 'Environment Variables'.") -4. Set the `Value` to the folder where you installed JDK, in the format `D:\Programs\OpenJDK`. You can locate this folder with the “Browse directory...” button. +4. Set the **Value** to the folder where you installed JDK, in the format `D:\Programs\OpenJDK`. You can locate this folder with the **Browse directory...** button. @@ -146,7 +146,7 @@ sudo tar -x -C /usr/lib/jvm -f /tmp/openjdk-14.0.1_linux-x64_bin.tar.gz Then, navigate to this folder and confirm the final path (in this case, `usr/lib/jvm/jdk-14.0.1`. Open a terminal and type ```sudo gedit /etc/profile``` -In the text window that opens, insert the following lines at the end of the “profile” file, using the path above: +In the text window that opens, insert the following lines at the end of the `profile` file, using the path above: ``` JAVA_HOME=/usr/lib/jvm/jdk-14.0.1 @@ -362,10 +362,10 @@ OpenRefine does not currently output an error log, but because the OpenRefine co You can access OpenRefine server logs from the terminal on Mac: * Find the OpenRefine app/icon in Finder -* Ctrl+Click on the icon and select "Show Package Contents" from the context menu that displays -* This should open a new Finder menu showing a folder called "Contents" - navigate into this folder then into the "MacOS" folder -* Ctrl+Click on "JavaAppLauncher" -* Choose 'Open With' from menu, and select "Terminal" +* Ctrl+Click on the icon and select **Show Package Contents** from the context menu that displays +* This should open a new Finder menu showing a folder called **Contents** - navigate into this folder then into the **MacOS** folder +* Ctrl+Click on **JavaAppLauncher** +* Choose **Open With** from menu, and select **Terminal** --- @@ -435,26 +435,26 @@ To change the default that `refine.bat` uses, edit the `refine.ini` line that re ```REFINE_MEMORY=1024M``` -Note that this file is only read if you use `refine.bat`, not `openrefine.exe`. +Note that this file is only read if you use `refine.bat`, not **openrefine.exe**. -If you have downloaded the `.dmg` package and you start OpenRefine by double-clicking on it: +If you have downloaded the **.dmg** package and you start OpenRefine by double-clicking on it: * close OpenRefine -* "control-click" on the OpenRefine icon (opens the contextual menu) -* click on "show package content" (a finder window opens) -* open the "Contents" folder -* open the "Info.plist" file with any text editor (like Mac's default TextEdit) -* Change "-Xmx1024M" into, for example, “-Xmx2048M” or “-Xmx8G” +* **control-click** on the OpenRefine icon (opens the contextual menu) +* click on **show package content** (a finder window opens) +* open the **Contents** folder +* open the **Info.plist** file with any text editor (like Mac's default TextEdit) +* Change `-Xmx1024M` into, for example, `-Xmx2048M` or `-Xmx8G` * save the file * restart OpenRefine. -If you have downloaded the `.tar.gz` package and you start OpenRefine from the command line, add the "-m xxxxM" parameter like this: +If you have downloaded the `.tar.gz` package and you start OpenRefine from the command line, add the `-m xxxxM` parameter like this: `./refine -m 2048m` @@ -464,7 +464,7 @@ If you don't want to set this option on the command line each time, you can also ```REFINE_MEMORY=1024M``` -Make sure it is not commented out (that is, that the line doesn't start with a '#' character), and change “1024” to a higher value. Save the file, and when you next start OpenRefine it will use this value. +Make sure it is not commented out (that is, that the line doesn't start with a '#' character), and change `1024` to a higher value. Save the file, and when you next start OpenRefine it will use this value. @@ -495,10 +495,10 @@ We provide these options because you may wish to reinstall a given extension man If you want to install the extension into the program folder, go to your program directory and then go to `/webapp/extensions` (or create it if not does not exist). If you want to install the extension into your workspace, you can: -* launch OpenRefine and click “Open Project” in the sidebar -* At the bottom of the screen, click “Browse workspace directory” +* launch OpenRefine and click Open Project in the sidebar +* At the bottom of the screen, click Browse workspace directory * A file-explorer or finder window will open in your workspace -* Create a new folder called “extensions” inside the workspace if it does not exist. +* Create a new folder called `extensions` inside the workspace if it does not exist. You can also [find your workspace on each operating system using these instructions](installing.md#set-where-data-is-stored). diff --git a/docs/docs/manual/running.md b/docs/docs/manual/running.md index 50919f841..d39858b44 100644 --- a/docs/docs/manual/running.md +++ b/docs/docs/manual/running.md @@ -20,7 +20,7 @@ OpenRefine works best on browsers based on Webkit, such as: We are aware of some minor rendering and performance issues on other browsers such as Firefox. We don't support Internet Explorer. -You can launch multiple projects at the same time by simply having multiple tabs or browser windows open. From the “Open Project” screen, you can right-click on project names and select “Open in new tab.” +You can launch multiple projects at the same time by simply having multiple tabs or browser windows open. From the Open Project screen, you can right-click on project names and select Open in new tab. import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; @@ -257,7 +257,7 @@ Refer to the [official Java documentation](https://docs.oracle.com/javase/8/docs ## The home screen -When you first launch OpenRefine, you will see a screen with a menu on the left hand side that includes “Create Project,” “Open Project,” “Import Project,” and “Language Settings.” This is called the “home screen,” where you can manage your projects and general settings. +When you first launch OpenRefine, you will see a screen with a menu on the left hand side that includes Create Project, Open Project, Import Project, and Language Settings. This is called the "home screen", where you can manage your projects and general settings. ### Language settings @@ -316,19 +316,19 @@ Don’t click the “back” button on your browser - it will likely close your You can rename a project at any time by clicking inside the project title, which will turn into a text field. Project names don’t have to be unique, as OpenRefine organizes them based on a unique identifier behind the scenes. -“Permalink” allows you to return to a project at a specific view state - that is, with facets and filters applied. The permalink can help you pick up where you left off if you have to close your project while working with facets and filters. It puts view-specific information directly into the URL: clicking on it will load this current-view URL in the existing tab. You can right-click and copy the Permalink URL to copy the current view state to your clipboard, without refreshing the tab you’re using. - -“Open…” will open up a new browser tab showing the “Create Project” screen. From here you can change settings, start a new project, or open an existing project. - -“Export” is a dropdown menu that allows you to pick a format for exporting your current dataset. It will only export rows and records that are currently visible - the currently selected facets and filters, not the total data in the project. - -“Help” will open up a new browser tab and bring you to this user manual on the web. +Permalink allows you to return to a project at a specific view state - that is, with facets and filters applied. The permalink can help you pick up where you left off if you have to close your project while working with facets and filters. It puts view-specific information directly into the URL: clicking on it will load this current-view URL in the existing tab. You can right-click and copy the Permalink URL to copy the current view state to your clipboard, without refreshing the tab you’re using. +
+Open… will open up a new browser tab showing the “Create Project” screen. From here you can change settings, start a new project, or open an existing project. +
+Export is a dropdown menu that allows you to pick a format for exporting your current dataset. It will only export rows and records that are currently visible - the currently selected facets and filters, not the total data in the project. +
+Help will open up a new browser tab and bring you to this user manual on the web. ### The grid header The grid header sits below the project bar and above the project grid (the data of your project). The grid header will tell you the total number of rows or records in your project, and indicate whether you are in rows or records mode. -It will also tell you if you’re currently looking at a select number of rows via facets or filtering, rather than the entire dataset, by displaying either, for example, “180 rows” or “67 matching rows (180 total).” +It will also tell you if you’re currently looking at a select number of rows via facets or filtering, rather than the entire dataset, by displaying either, for example, 180 rows or 67 matching rows (180 total). Directly below the row number, you have the ability to switch between row mode and records mode. OpenRefine stores which projects are in records mode, and displays your data as records by default if you are. @@ -336,17 +336,17 @@ To the right of the rows/records selection is the array of options for how many ### Extensions -The "Extensions" dropdown offers you options for extending your data - most commonly by uploading your edited statements to Wikidata, or by importing or exporting schema. You can learn more about these functions on the [Wikidata page](wikidata). Other extensions may also add functions to this dropdown menu. +The Extensions dropdown offers you options for extending your data - most commonly by uploading your edited statements to Wikidata, or by importing or exporting schema. You can learn more about these functions on the [Wikidata page](wikidata). Other extensions may also add functions to this dropdown menu. ### The grid -The area of the project screen that displays your dataset is called the “project grid” (or the “data grid,” or simply the “grid”). The grid presents data in a tabular format, which may look like a normal spreadsheet program to you. +The area of the project screen that displays your dataset is called the "project grid" (or the "data grid", or simply the "grid"). The grid presents data in a tabular format, which may look like a normal spreadsheet program to you. Columns widths are automatically set based on their contents; some column headers may be cut off, but can be viewed by mousing over the headers. In each column header you will see a small arrow. Clicking on this arrow brings up a dropdown menu containing column-specific data exploration and transformation options. You will learn about each of these options in the [Exploring data](exploring) and [Transforming data](transforming) sections. -The first column in every project will always be “All,” which contains options to flag, star, and do non-column-specific operations. The "All" column is also where rows/records are numbered. +The first column in every project will always be All, which contains options to flag, star, and do non-column-specific operations. The All column is also where rows/records are numbered. The project grid may display with both vertical and horizontal scrolling, depending on the number and width of columns, and the number of rows/records displayed. You can control the display of the project grid by using [Sort and View options](exploring#sort-and-view). @@ -360,7 +360,7 @@ The Facet/Filter tab is one of the main ways of exploring your data: displaying ![A screenshot of facets and filters in action.](/img/facetfilter.png) -In the interface, you will see three buttons: “Refresh,” “Reset all,” and “Remove all.” Refreshing your facets will ensure you are looking at the latest information about each facet, if you have changed the counts or eliminated some options, for example. +In the interface, you will see three buttons: Refresh, Reset all, and Remove all. Refreshing your facets will ensure you are looking at the latest information about each facet, if you have changed the counts or eliminated some options, for example. Resetting your facets will remove any inclusion or exclusion you may have set - the facet options will stay in the sidebar, but your view settings will be reset. @@ -376,7 +376,7 @@ Project history gets saved when you export a project archive, and restored when ![A screenshot of the History (Undo/Redo) tab with 13 steps.](/img/history.png "A screenshot of the History (Undo/Redo) tab with 13 steps.") -When you click on “Undo / Redo” in the sidebar of any project, that project’s history is shown as a list of changes in order, with the first “change” being the action of creating the project itself. (That first change, indexed as step zero, cannot be undone.) Here is a sample history with 3 changes: +When you click on Undo / Redo in the sidebar of any project, that project’s history is shown as a list of changes in order, with the first change being the action of creating the project itself. (That first change, indexed as step zero, cannot be undone.) Here is a sample history with 3 changes: ``` 0. Create project @@ -387,21 +387,21 @@ When you click on “Undo / Redo” in the sidebar of any project, that project The current state of the project is highlighted with a dark blue background. If you move back and forth on the timeline you will see the current state become highlighted, while the actions that came after that state will be grayed out. -To revert your data back to an earlier state, simply click on the last action in the timeline you want to keep. In the example above, if we keep the removal of 7 rows but revert everything we did after that, then click on “Remove 7 rows.” The last 2 changes will be undone, in order to bring the project back to state #1. +To revert your data back to an earlier state, simply click on the last action in the timeline you want to keep. In the example above, if we keep the removal of 7 rows but revert everything we did after that, then click on Remove 7 rows. The last 2 changes will be undone, in order to bring the project back to state #1. In this example, changes #2 and #3 will now be grayed out. You can redo a change by clicking on it in the history - everything up to and including it will be redone. If you have moved back one or more states, and then you perform a new operation on your data, the later actions (everything that’s greyed out) will be erased and cannot be re-applied. -The Undo/Redo tab will show you which step you’re on, and if you’re about to risk erasing work - by saying something like “4/5" or “1/7” at the end. +The Undo/Redo tab will show you which step you’re on, and if you’re about to risk erasing work - by saying something like "4/5" or "1/7" at the end. ##### Reusing operations Operations that you perform in OpenRefine can be reused. For example, a formula you wrote inside one project can be copied and applied to another project later. -To reuse one or more operations, you first extract it from the project where it was first applied. Click to the Undo/Redo tab and click “Extract….” This brings up a box that lists all operations up to the current state (it does not show undone operations). Select the operation or operations you want to extract using the checkboxes on the left, and they will be encoded as JSON on the right. Copy that JSON off to the clipboard. +To reuse one or more operations, you first extract it from the project where it was first applied. Click to the Undo/Redo tab and click Extract…. This brings up a box that lists all operations up to the current state (it does not show undone operations). Select the operation or operations you want to extract using the checkboxes on the left, and they will be encoded as JSON on the right. Copy that JSON off to the clipboard. -Move to the second project, go to the Undo/Redo tab, click “Apply…” and paste in that JSON. +Move to the second project, go to the Undo/Redo tab, click Apply… and paste in that JSON. Not all operations can be extracted. Edits to a single cell, for example, can’t be replicated. diff --git a/docs/docs/manual/starting.md b/docs/docs/manual/starting.md index 10304524e..5e689fd1b 100644 --- a/docs/docs/manual/starting.md +++ b/docs/docs/manual/starting.md @@ -50,11 +50,11 @@ If you supply two or more files for one project, the files’ rows will be loade |berries.csv||2|Blueberry|Canada| -For whichever method you choose, when you click “Next >>” you will be given a preview and a chance to configure the way OpenRefine interprets the file. +For whichever method you choose, when you click Next >> you will be given a preview and a chance to configure the way OpenRefine interprets the file. ### Get data from this computer -Click on “Browse…” and select a file on your hard drive. All files will be shown, not just compatible ones. +Click on Browse… and select a file on your hard drive. All files will be shown, not just compatible ones. If you import an archive file (something with the extension `.zip`, `.tar.gz`, `.tgz`, `.tar.bz2`, `.gz`, or `.bz2`), OpenRefine detects the files inside it, shows you a preview screen, and allows you to select which ones to load. This does not work with `.rar` files. @@ -80,13 +80,13 @@ If you are an administrator or have SQL access to a database of information, you There are some publicly-accessible databases you can query, such as [one provided by Rfam](https://docs.rfam.org/en/latest/database.html). The instructions provided by Rfam can help you understand how to connect to and query from any database. -OpenRefine can connect to PostgreSQL, MySQL, MariaDB, and SQLite database systems. It will automatically populate the “Port” field based on which of these you choose, but you can manually edit this if needed. +OpenRefine can connect to PostgreSQL, MySQL, MariaDB, and SQLite database systems. It will automatically populate the Port field based on which of these you choose, but you can manually edit this if needed. -If you have a `.db` file, you can supply the path to the file on your computer directly in the “Database” field at the bottom of the form. You can leave the rest of the fields blank. +If you have a `.db` file, you can supply the path to the file on your computer directly in the Database field at the bottom of the form. You can leave the rest of the fields blank. -To import data directly from a database, you will need the database type (such as MySQL), database name, the hostname (either an IP address or the domain that hosts the database), and the port on the host. You will need an account authorized for access, and you may need to add OpenRefine's IP address or host to the “allowable hosts” for that account. You can find that information by pressing “Test” and getting the IP from the error message that results. +To import data directly from a database, you will need the database type (such as MySQL), database name, the hostname (either an IP address or the domain that hosts the database), and the port on the host. You will need an account authorized for access, and you may need to add OpenRefine's IP address or host to the allowable hosts for that account. You can find that information by pressing Test and getting the IP from the error message that results. -You can either connect just once to gather data, or save the connection to use it again later. If you press “Connect” without saving, OpenRefine will forget all the information you just entered. If you’d like to save the connection, name your connection in a way you will recognize later. Click “Save” and it will appear in the “Saved Connections” list on the left. From now on, you can click on the “...” ellipsis to the right of the connection you’ve saved, and click “Connect.” +You can either connect just once to gather data, or save the connection to use it again later. If you press Connect without saving, OpenRefine will forget all the information you just entered. If you’d like to save the connection, name your connection in a way you will recognize later. Click Save and it will appear in the Saved Connections list on the left. From now on, you can click on the ... ellipsis to the right of the connection you’ve saved, and click Connect. If your connection is successful, you will see a Query Editor where you can run your SQL query. OpenRefine will give you an error if you write a statement that tries to modify the source database in any way. @@ -111,26 +111,26 @@ You can authorize OpenRefine to access your Google Drive data and import data fr OpenRefine will not show spreadsheets that are in your email inbox or stored in any other Google property - only in Drive. It also won’t show all compatible file formats, only Sheets files. -OpenRefine will generate a list of all Sheets it finds, with the most recently modified Sheets at the top. If a file you’ve just added isn’t showing in this list, you can close and restart OpenRefine, or simply navigate to an existing project, open it, then head back to the “Create Project” window and check again. +OpenRefine will generate a list of all Sheets it finds, with the most recently modified Sheets at the top. If a file you’ve just added isn’t showing in this list, you can close and restart OpenRefine, or simply navigate to an existing project, open it, then head back to the Create Project window and check again. -When you click “Preview” the Sheet will open in a new browser tab. When you click the Sheet title, OpenRefine will begin to process the data. +When you click Preview the Sheet will open in a new browser tab. When you click the Sheet title, OpenRefine will begin to process the data. ## Project preview -Once OpenRefine is ready to import the data, you will see a screen with “Configure Parsing Options” at the top. You’ll see a preview of the first 100 rows and all identified columns. +Once OpenRefine is ready to import the data, you will see a screen with Configure Parsing Options at the top. You’ll see a preview of the first 100 rows and all identified columns. At the bottom of the screen you will find options for telling OpenRefine how to process what it has found. You can tell it which row(s) to parse as column headers, as well as to ignore any number of rows at the top. You can also select a specific range of rows to work with, by discarding some rows at the top (excluding the header) and limiting the total number of rows it loads. OpenRefine tries to guess how to parse your data based on the file extension. For example, `.xml` files are going to be parsed as though they are formatted in XML. An unknown file extension (or your clipboard copy-paste) is assumed to be either tab-separated or comma-separated. OpenRefine looks for a tab character; if one is found, it assumes you have imported tab-separated data. -If OpenRefine isn’t certain what format you imported, it will provide a list of possibilities under “Parse data as” and some settings. You can specify a custom separator now, or split columns later on in the project interface. +If OpenRefine isn’t certain what format you imported, it will provide a list of possibilities under Parse data as and some settings. You can specify a custom separator now, or split columns later on in the project interface. If you imported a spreadsheet with multiple worksheets, they will be listed along with the number of rows they contain. You can only select data from one worksheet. Note that OpenRefine does not preserve any formatting, such as cell or text colour, that my have been in the original data file. -You should create a project name at this stage. You can also supply tags to keep your projects organized. When you’re happy with the preview, click “Create Project.” +You should create a project name at this stage. You can also supply tags to keep your projects organized. When you’re happy with the preview, click Create Project. ## Import a project @@ -145,40 +145,40 @@ An exported project will include all of the [history](running#history-undoredo), Once someone has sent you a project archive file from their computer, you can save it anywhere, including your Downloads folder. -In the left-hand menu of the home screen, click “Import Project.” Click “Browse…” and navigate to wherever you saved the file you were sent (for example, your Downloads folder). +In the left-hand menu of the home screen, click Import Project. Click Browse… and navigate to wherever you saved the file you were sent (for example, your Downloads folder). You can rename the project if you’d like - we recommend adding your name, a date, or a version number, if you’re planning to continue collaborating with another person (or working from multiple computers). -Then, click “Import Project.” Your project should appear with a step count beside “undo/redo” if steps were saved by the exporter. +Then, click Import Project. Your project should appear with a step count beside Undo/Redo if steps were saved by the exporter. OpenRefine will store the project in its own workspace directory, so you can now delete the original file that was sent to you. ## Project management -You can access all of your created projects by clicking on “Open Project.” Your project list can be organized by modification date, title, row count, and other metadata you can supply (such as subject, descripton, tags, or creator). To edit the fields you see here, click “About” to the left of each project. There you can edit a number of available fields. You can also see the project ID that corresponds to the name of the folder in your work directory. +You can access all of your created projects by clicking on Open Project. Your project list can be organized by modification date, title, row count, and other metadata you can supply (such as subject, descripton, tags, or creator). To edit the fields you see here, click About to the left of each project. There you can edit a number of available fields. You can also see the project ID that corresponds to the name of the folder in your work directory. ### Naming projects -You may have multiple projects from the same dataset, or multiple versions from sharing a project with another person. OpenRefine automatically generates a project name from the imported file, or “clipboard” when you use Clipboard importing. Project names don’t have to be unique, so OpenRefine will create many projects with the same name unless you intervene. +You may have multiple projects from the same dataset, or multiple versions from sharing a project with another person. OpenRefine automatically generates a project name from the imported file, or clipboard when you use Clipboard importing. Project names don’t have to be unique, so OpenRefine will create many projects with the same name unless you intervene. You can name a project when you create it or import it, and you can rename a project by opening it and clicking on the project name at the top of the screen. ### Autosaving -OpenRefine saves all of your actions (everything you can see in the Undo/Redo panel). That includes flagging and starring rows. +OpenRefine saves all of your actions (everything you can see in the Undo/Redo panel). That includes flagging and starring rows. -It doesn’t, however, save your facets, filters, or any kind of “view” you may have in place while you work. This includes the number of rows showing, whether you are showing your data as rows or records, and any sorting or column collapsing you may have done. A good rule of thumb is: if it’s not showing in Undo/Redo, you will lose it when you leave the project workspace. +It doesn’t, however, save your facets, filters, or any kind of view you may have in place while you work. This includes the number of rows showing, whether you are showing your data as rows or records, and any sorting or column collapsing you may have done. A good rule of thumb is: if it’s not showing in Undo/Redo, you will lose it when you leave the project workspace. -You can only save and share facets and filters, not any other type of view. To save current facets and filters, click “Permalink.” The project will reload with a different URL, which you can then copy and save elsewhere. This permalink will save both the facets and filters you’ve set, and the settings for each one (such as sorting by count rather than by name). +You can only save and share facets and filters, not any other type of view. To save current facets and filters, click Permalink. The project will reload with a different URL, which you can then copy and save elsewhere. This permalink will save both the facets and filters you’ve set, and the settings for each one (such as sorting by count rather than by name). ### Deleting projects You can delete projects, which will erase the project files from the work directory on your computer. This is immediate and cannot be undone. -Go to “Open Project” and find the project you want to delete. Click on the “X” to the left of the project name. There will be a confirmation dialog. +Go to Open Project and find the project you want to delete. Click on the X to the left of the project name. There will be a confirmation dialog. ### Project files -You can find all of your raw project files in your work directory. They will be named according to the unique Project ID that OpenRefine has assigned them, which you can find on the “Open Project” screen, under the “About” button for each project. \ No newline at end of file +You can find all of your raw project files in your work directory. They will be named according to the unique Project ID that OpenRefine has assigned them, which you can find on the Open Project screen, under the “About” link for each project. \ No newline at end of file diff --git a/docs/src/css/custom.css b/docs/src/css/custom.css index 057bf53a5..1a83459cb 100644 --- a/docs/src/css/custom.css +++ b/docs/src/css/custom.css @@ -15,4 +15,85 @@ --ifm-color-primary-lighter: #2da6d1; --ifm-color-primary-lightest: #00dcff; --ifm-color-secondary: #999999; + --ifm-alert-border-width: 6px; + --ifm-alert-background-color: #ffffff; + --ifm-panel-background-color: #ffffff; + --ifm-panel-box-shadow-color: #999999; + --ifm-code-color: var(--ifm-color-primary-darkest); + } + + /******* COMMON *******/ + + html[data-theme='dark'] { + --ifm-panel-background-color: rgb(41, 45, 62); + --ifm-panel-box-shadow-color: var(--ifm-panel-background-color); + --ra-admonition-color: var(--ifm-color-black); + --ra-admonition-icon-color: var(--ifm-color-black); + --ifm-code-color: var(--ifm-color-primary-light); + } + + + + /******* SIDE BAR STYLES *******/ + + .menu__link--sublist { + margin-top: 10px; + padding-bottom: 25px; + padding-top: 25px; + } + + + + /******* MARKDOWN STYLES *******/ + + .alert { + border-radius: 0; + border: 0; + box-shadow: 0px 0px 10px 0px var(--ifm-panel-box-shadow-color); + border-width: 1px; + border-left: var(--ifm-alert-border-width) solid var(--ifm-alert-border-color); + background-color: var(--ifm-panel-background-color); + color: var(--ifm-font-color-secondary); + } + + .admonition-icon svg { + fill: var(--ifm-font-color-secondary); + } + + .alert a { + color: var(--ifm-font-color-secondary); + } + + .markdown h4{ + margin-top: 40px; + font-size: 20px; + } + + .markdown h3{ + margin-top: 45px; + font-size: 29px; + } + + .markdown h2{ + margin-top: 50px; + font-size: 35px; + } + + .markdown .menuItems { + font-size: var(--ifm-code-font-size); + display: inline-block; + border: 2px solid #4dc6e1; + border-radius: var(--ifm-code-border-radius); + margin: 0; + padding: 1px var(--ifm-code-padding-horizontal); + } + + .markdown img { + display: block; + margin-left: auto; + margin-right: auto; + } + + code { + color: var(--ifm-code-color); } \ No newline at end of file