Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
96 changes: 82 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,88 @@
---
permalink: /
---

# ArchivesSpace technical documentation

The technical documentation covers a range of topics of interest to those working with ArchivesSpace in different technical capacities, and is organized in order to help you find the information most appropriate to your role.
This repository contains the content and source code for the [ArchiveSpace TechDocs site](https://docs.archivesspace.org/).

## Content

The documentation content is found in `src/content/docs/` with the following structure:

- **Architecture** - System architecture and components overview
- **Administration** - Running and maintaining ArchivesSpace
- **Provisioning** - Deployment and scaling
- **Migrations** - Data migration guides
- **Customization** - Configuration and customization options
- **Development** - Local development and contributing
- **API** - API documentation and usage
- **About** - About the TechDocs repository

## Source code

TechDocs is a [Node.js](https://nodejs.org) application, built with [Astro](https://astro.build/) and its [Starlight](https://starlight.astro.build/) documentation site framework. Content is written in Markdown. Automated testing is done with [Cypress](https://www.cypress.io/). The source code is hosted on [GitHub](https://github.com/archivesspace/tech-docs). The site is statically built and hosted via [Cloudflare Pages](https://pages.cloudflare.com/). When the source code changes, a new set of static files are generated and published shortly after.

### Requirements

1. [Node.js](https://nodejs.org) v18.17.1 or v20.3.0, v22.0.0 or higher (v19 and v21 are not supported) - this is an [Astro requirement](https://docs.astro.build/en/install-and-setup/#prerequisites)

### Running TechDocs locally

```sh
# First clone the repository and install its dependencies

git clone https://github.com/archivesspace/tech-docs.git

cd tech-docs

npm install

# Next, either run the dev server at http://localhost:4321/ which instantly reflects changes to the source code,
npm run dev

# or build the static site for production
npm run build

# and optionally serve the static build to http://localhost:4321/
npm run preview
```

### Testing

Running the tests requires either the dev server or the production build to be running at http://localhost:4321/, ie:

```sh
# Build and serve the production build in one terminal,
npm run build

npm run preview

# then run the tests from another terminal
npm run test
```

### Scripts

The following scripts are made available via [package.json](./package.json):

- `npm run dev` - Start development server
- `npm run build` - Build for production
- `npm run preview` - Preview production build
- `npm run test:dev` - Run tests in development mode
- `npm run test:prod` - Run tests in production mode
- `npm run test` - Run tests in production mode by default
- `npm run prettier:check` - Check code formatting
- `npm run prettier:fix` - Fix code formatting
- `npm run stylelint:check` - Check styles
- `npm run stylelint:fix` - Fix style issues

## Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

- **[ArchivesSpace technical overview](./readme_evaluate)** – For anyone who needs to evaluate technical requirements and capabilities of ArchivesSpace
- **[Installing, configuring and maintaining an ArchivesSpace instance](./readme_implement)** – For anyone responsible for installing and/or maintaining an ArchivesSpace instance
- **[Developer resources](./readme_develop)** – For anyone who needs to create plugins, integrate ArchivesSpace with other systems, or contribute to core code
## 📖 Additional Resources

**To suggest corrections or additions, please submit a pull request or issue report on [Github](https://github.com/archivesspace/tech-docs)**
- [ArchivesSpace Help Center](https://archivesspace.atlassian.net/wiki/spaces/ADC/pages/917045261/ArchivesSpace+Help+Center) (requires member login)
- [ArchivesSpace API Documentation](https://archivesspace.github.io/archivesspace/api/)
- [ArchivesSpace Website](https://archivesspace.org)

## Other technical documentation resources:
## 📄 License

- [ArchivesSpace API Reference](http://archivesspace.github.io/archivesspace/api/)
- [ArchivesSpace YARD Docs](http://archivesspace.github.io/archivesspace/doc/)
- [Technical Documentation website](https://archivesspace.github.io/tech-docs/)
- [Github repository](https://github.com/archivesspace/tech-docs)
This project is licensed under the ECL-2.0 License.
Loading