esri.github.io icon indicating copy to clipboard operation
esri.github.io copied to clipboard

Esri GitHub landing page

esri.github.io

Landing page for Esri open source projects.

Both the project categories and search suggestions in https://esri.github.io are powered by GitHub topics.

web-development data-management spatial-analysis publishing-sharing native-development

You can find a complete list of searchable topics in search-topics.yml. When a topic is added to an Esri repository, it will be reflected in search immediately.

Development

The website is generated using the open source static site generator acetate and styled with the help of calcite-web.

  1. Fork and clone the project
  2. Install the package.json dependencies by running npm install
  3. Run npm start. This will generate built pages in memory, launch the site on http://localhost:8000 and watch the raw source for changes.
  4. To create a build that will be saved to disk, use grunt build

Architecture

Information for the case studies and featured projects can be found in projects.yml

- title: R Analysis
    description: Develop and share R statistical analysis with ArcGIS.
    url: //r-arcgis.github.io/
    displayLang: R
    searchLang: r
    stars: 109

Template markup for the featured content is located in _macros.html

For example, below we define a loop to generate 24 cards using information from projects.yml

<div class="block-group block-group-4-up tablet-block-group-2-up phone-block-group-1-up">
    {% for project in projectInfo.projects %}
    {% if loop.index > 1 %}
    <div class="card block leader-1">
        <div class="card-content card-bar-{{ projectInfo.color }}">
        <h4>{{ project.title }}</h4>
        <p class="card-last">{{ project.description }}</p>
        <!-- ... -->
        </div>
    </div>
    {% endif %}
    {% endfor %}
    </div>

<html> scaffolding can be found in src/index.html

Contributing

Anyone and everyone is welcome to contribute. Please see our guidelines for contributing.

Code of conduct

All contributors and participants in this repository are expected to abide by our code of conduct.

License

Copyright © 2013-2020 Esri

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

A copy of the license is available in the repository's LICENSE file.